Journey: {
    fileByIdTreeExportResolver: TreeExportResolverInterface;
    onlineTreeExportResolver: TreeExportResolverInterface;
    createFileParamTreeExportResolver(
        file: string,
    ): TreeExportResolverInterface;
    createJourney(
        journeyId: string,
        journeyData: TreeSkeleton,
    ): Promise<TreeSkeleton>;
    createMultiTreeExportTemplate(): MultiTreeExportInterface;
    createSingleTreeExportTemplate(): SingleTreeExportInterface;
    deleteJourney(
        journeyId: string,
        options: { deep: boolean; progress?: boolean; verbose: boolean },
    ): Promise<DeleteJourneyStatus>;
    deleteJourneys(
        options: { deep: boolean; verbose: boolean },
    ): Promise<DeleteJourneysStatus>;
    disableJourney(journeyId: string): Promise<TreeSkeleton>;
    enableJourney(journeyId: string): Promise<TreeSkeleton>;
    exportJourney(
        treeId: string,
        options?: TreeExportOptions,
    ): Promise<SingleTreeExportInterface>;
    exportJourneys(
        options?: TreeExportOptions,
    ): Promise<MultiTreeExportInterface>;
    findOrphanedNodes(): Promise<NodeSkeleton[]>;
    getJourney(journeyId: string): Promise<TreeSkeleton>;
    getJourneyClassification(
        journey: SingleTreeExportInterface,
    ): JourneyClassificationType[];
    getJourneys(): Promise<TreeSkeleton[]>;
    getNodeRef(
        nodeObj: NodeSkeleton,
        singleTreeExport: SingleTreeExportInterface,
    ): NodeRefSkeletonInterface | InnerNodeRefSkeletonInterface;
    getTreeDescendents(
        treeExport: SingleTreeExportInterface,
        resolveTreeExport: TreeExportResolverInterface,
        resolvedTreeIds?: string[],
    ): Promise<TreeDependencyMapInterface>;
    importAllJourneys(
        importData: MultiTreeExportInterface,
        options: TreeImportOptions,
    ): Promise<TreeSkeleton[]>;
    importJourney(
        treeObject: SingleTreeExportInterface,
        options: TreeImportOptions,
    ): Promise<TreeSkeleton>;
    importJourneys(
        importData: MultiTreeExportInterface,
        options: TreeImportOptions,
    ): Promise<TreeSkeleton[]>;
    isCloudOnlyJourney(journey: SingleTreeExportInterface): boolean;
    isCustomJourney(journey: SingleTreeExportInterface): boolean;
    isPremiumJourney(journey: SingleTreeExportInterface): boolean;
    readJourney(journeyId: string): Promise<TreeSkeleton>;
    readJourneys(): Promise<TreeSkeleton[]>;
    removeOrphanedNodes(orphanedNodes: NodeSkeleton[]): Promise<NodeSkeleton[]>;
    resolveDependencies(
        installedJorneys: any,
        journeyMap: any,
        unresolvedJourneys: any,
        resolvedJourneys: any,
        index?: number,
    ): Promise<void>;
    updateJourney(
        journeyId: string,
        journeyData: TreeSkeleton,
    ): Promise<TreeSkeleton>;
}

Type declaration