import { ConditionBranch, Journey, Milestone } from '@parlor/common';
import { IPlaybook } from '@parlor/pages/playbooks/playbook.types';
export declare const useFindJourneyOrPlaybookChildren: () => (item: Journey | IPlaybook, isRecord?: boolean) => Promise<{
    conditionPaths: any[];
    __typename?: never;
    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;
    milestones?: Milestone[];
    name: string;
    organization: import("@parlor/common").Organization;
    organizationID: string;
    parentJourney?: Journey;
    segments?: import("@parlor/common").Segment[];
    signals?: import("@parlor/common").Signal[];
    status?: never;
    targetTime?: number;
    type: import("@parlor/common").SegmentType;
    updated_at: any;
    version?: string;
    account?: import("@parlor/common").Account;
    accountID?: string;
    actions?: import("@parlor/common").Action[];
    actionsAggregate: import("@parlor/common").PlaybookActionsAggregateResponse[];
    admin?: import("@parlor/common").Admin;
    adminID?: string;
    assignedObject?: import("@parlor/common").PlayBookObject;
    changeMaker?: import("@parlor/common").Admin;
    changeMakerID?: string;
    childPlaybooks?: import("@parlor/common").Playbook[];
    childPlaybooksAggregate: import("@parlor/common").PlaybookChildPlaybooksAggregateResponse[];
    conditionPathsAggregate: import("@parlor/common").PlaybookConditionPathsAggregateResponse[];
    dynamicScoreValue?: import("@parlor/common").DynamicScoreValue;
    dynamicScoreValueID?: string;
    hasParent?: boolean;
    isPaused?: boolean;
    lifeCycleStage?: import("@parlor/common").LifeCycleStage;
    lifeCycleStageID?: string;
    parentPlaybook?: import("@parlor/common").Playbook;
    parentPlaybookID?: string;
    segment?: import("@parlor/common").Segment;
    segmentID?: string;
    signal?: import("@parlor/common").Signal;
    signalID?: string;
    statusCounts: any;
    tasks?: import("@parlor/common").Playbook[];
    tasksAggregate: import("@parlor/common").PlaybookTasksAggregateResponse[];
    trigger?: import("@parlor/common").PlayBookTrigger;
    user?: import("@parlor/common").User;
    userID?: string;
} | {
    conditionPaths: any[];
    __typename?: "Playbook";
    id: string;
    name?: string;
    changeMakerID?: string;
    adminID?: string;
    assignedObject?: import("@parlor/common").PlayBookObject;
    parentPlaybookID?: string;
    organizationID: string;
    hasParent?: boolean;
    isPaused?: boolean;
    statusCounts: any;
    status?: import("@parlor/common").PlayBookStatus;
    updated_at: any;
    created_at: any;
    accountID?: string;
    userID?: string;
    actionsCount: {
        __typename?: "PlaybookActionsAggregateResponse";
        count?: {
            __typename?: "PlaybookActionsCountAggregate";
            id?: number;
        };
    }[];
    admin?: {
        __typename?: "Admin";
        id: string;
        email: string;
        firstName?: string;
        lastName?: string;
        avatar?: string;
        role: import("@parlor/common").AdminRole;
        team?: import("@parlor/common").AdminTeams;
        teamRole?: import("@parlor/common").AdminTeamRoles;
        parentId?: string;
    } & import("@parlor/common").Admin;
    folder?: {
        __typename?: "folder";
        id: string;
        name: string;
        type?: import("@parlor/common").FolderType;
        itemCount: number;
        created_at: any;
        updated_at: any;
    } & import("@parlor/common").Folder;
    changeMaker?: {
        __typename?: "Admin";
        id: string;
        firstName?: string;
    } & import("@parlor/common").Admin;
    account?: import("@parlor/common").Account;
    actions?: import("@parlor/common").Action[];
    actionsAggregate: import("@parlor/common").PlaybookActionsAggregateResponse[];
    childPlaybooks?: import("@parlor/common").Playbook[];
    childPlaybooksAggregate: import("@parlor/common").PlaybookChildPlaybooksAggregateResponse[];
    conditionPathsAggregate: import("@parlor/common").PlaybookConditionPathsAggregateResponse[];
    description?: string;
    dynamicScoreValue?: import("@parlor/common").DynamicScoreValue;
    dynamicScoreValueID?: string;
    folderID?: string;
    lifeCycleStage?: import("@parlor/common").LifeCycleStage;
    lifeCycleStageID?: string;
    organization?: import("@parlor/common").Organization;
    parentPlaybook?: import("@parlor/common").Playbook;
    segment?: import("@parlor/common").Segment;
    segmentID?: string;
    signal?: import("@parlor/common").Signal;
    signalID?: string;
    tasks?: import("@parlor/common").Playbook[];
    tasksAggregate: import("@parlor/common").PlaybookTasksAggregateResponse[];
    trigger?: import("@parlor/common").PlayBookTrigger;
    user?: import("@parlor/common").User;
} | {
    milestones: any[];
    conditionPaths: any[];
    __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;
} | {
    milestones: any[];
    conditionPaths: any[];
    __typename?: "Playbook";
    id: string;
    name?: string;
    changeMakerID?: string;
    adminID?: string;
    assignedObject?: import("@parlor/common").PlayBookObject;
    parentPlaybookID?: string;
    organizationID: string;
    hasParent?: boolean;
    isPaused?: boolean;
    statusCounts: any;
    status?: import("@parlor/common").PlayBookStatus;
    updated_at: any;
    created_at: any;
    accountID?: string;
    userID?: string;
    actionsCount: {
        __typename?: "PlaybookActionsAggregateResponse";
        count?: {
            __typename?: "PlaybookActionsCountAggregate";
            id?: number;
        };
    }[];
    admin?: {
        __typename?: "Admin";
        id: string;
        email: string;
        firstName?: string;
        lastName?: string;
        avatar?: string;
        role: import("@parlor/common").AdminRole;
        team?: import("@parlor/common").AdminTeams;
        teamRole?: import("@parlor/common").AdminTeamRoles;
        parentId?: string;
    };
    folder?: {
        __typename?: "folder";
        id: string;
        name: string;
        type?: import("@parlor/common").FolderType;
        itemCount: number;
        created_at: any;
        updated_at: any;
    };
    changeMaker?: {
        __typename?: "Admin";
        id: string;
        firstName?: string;
    };
}>;
