import { ConditionBranch, Journey } from '@parlor/common';
import { DeleteItem } from './use-journey-state';
export declare const useJourneySave: () => (values: Partial<Journey>, _deletedItems: DeleteItem[], newVersionVar?: string) => Promise<Pick<{
    __typename?: "Journey";
    achievements?: import("@parlor/common").Achievement[];
    children?: Journey[];
    childrenJournies?: Journey[];
    completionType?: import("@parlor/common").CompletionType;
    conditionBranches?: ConditionBranch[];
    created_at?: any;
    description?: string;
    dynamicScores?: import("@parlor/common").DynamicScore[];
    enableRetry?: boolean;
    entryCooldown?: number;
    folder?: import("@parlor/common").Folder;
    folderID?: string;
    id?: string;
    isNewestVersion?: boolean;
    markStalledAfterDays?: number;
    name?: string;
    organization?: import("@parlor/common").Organization;
    organizationID?: string;
    parentJourney?: Journey;
    segments?: import("@parlor/common").Segment[];
    signals?: import("@parlor/common").Signal[];
    status?: import("@parlor/common").SegmentStatus;
    targetTime?: number;
    type?: import("@parlor/common").SegmentType;
    updated_at?: any;
    version?: string;
}, "id" | "name" | "version" | "status" | "__typename" | "description" | "organizationID" | "completionType" | "markStalledAfterDays" | "targetTime" | "enableRetry" | "entryCooldown" | "folder">>;
