import { type OrgCheckpoint } from './checkpoint.js'; import type { OrgDaemon } from './daemon.js'; import { type RunningOrg } from './daemon-types.js'; import { type DocumentsRuntime } from './documents/runtime.js'; import { type RoleFence } from './fence.js'; import { type OrgDef } from './types.js'; /** Everything startOrgInner needs before it creates the bus: validates the * definition and roster, picks (or resumes) the run, and prepares its cwd. */ export declare function prepareOrgStart(daemon: OrgDaemon, name: string, options?: { resume?: boolean; autoApprove?: string[]; evalGate?: boolean; }): Promise<{ def: OrgDef; run: string; checkpoint: OrgCheckpoint | undefined; dir: string; cwd: string; worktreePath: string | undefined; /** Section 7.3 advice for the bus; errors have already stopped the start. */ checklistWarnings: string[]; /** Org sections (plan P3.6): the run's documents runtime; undefined off the sections surface. */ documents: DocumentsRuntime | undefined; }>; export declare function createRoleFences(daemon: OrgDaemon, def: OrgDef): Promise>; export declare function startInboxAndDrain(daemon: OrgDaemon, name: string, running: RunningOrg): Promise; /** Org sections (plan P3.8): attach the document runtime's notice engine to this org's real deliver path. It * sends the publication notices, and on a resume re-sends what was never delivered or never acted on. An org * without the sections surface has no documents runtime, so nothing happens. */ export declare function startDocumentNotices(daemon: OrgDaemon, name: string, running: RunningOrg): void; //# sourceMappingURL=org-start-steps.d.ts.map