import { IItem } from '@parlor/components/journeys/components/journey-items/item-components/utils';
import { IPlaybook as Playbook } from '../../../playbook.types';
export declare const usePlaybookSave: () => (values: Partial<Playbook>, deletedItems: IItem[]) => Promise<{
    __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;
    };
}>;
