import { Dialog, DialogID, MainDialog } from './dialog';
export type DialogPersistenceStatus = 'running' | 'completed' | 'archived';
export declare function getOrRestoreMainDialog(rootId: string, status: DialogPersistenceStatus): Promise<MainDialog | undefined>;
export declare function ensureDialogLoaded(mainDialog: MainDialog, targetId: DialogID, status: DialogPersistenceStatus, visitedSelfIds?: Set<string>): Promise<Dialog | undefined>;
