import type { DialogStatusKind } from '@longrun-ai/kernel/types/wire';
type ForkDialogAction = Readonly<{
    kind: 'draft_user_text';
    userText: string;
}> | Readonly<{
    kind: 'restore_pending';
    pendingQ4H: boolean;
}> | Readonly<{
    kind: 'auto_continue';
}>;
export type ForkDialogTreeResult = Readonly<{
    rootId: string;
    selfId: string;
    agentId: string;
    taskDocPath: string;
    action: ForkDialogAction;
}>;
export declare function forkMainDialogTreeAtGeneration(args: {
    sourceRootId: string;
    sourceStatus: DialogStatusKind;
    course: number;
    genseq: number;
}): Promise<ForkDialogTreeResult>;
export {};
