export type ParsedInitArgs = {
    dryRun: boolean;
    json: boolean;
    yes: boolean;
    approvalRationale?: string;
    force: boolean;
    noStarterTask: boolean;
};
export declare function parseInitArgv(argv: string[]): ParsedInitArgs;
/**
 * Top-level `workspace-kit init` — attach/detection/plan/apply/sqlite/starter/doctor orchestration.
 */
export declare function runWorkspaceKitInitCommand(cwd: string, argv: string[], io: {
    writeLine: (s: string) => void;
    writeError: (s: string) => void;
    readStdinLine?: () => Promise<string | null>;
}, exitCodes: {
    success: number;
    validationFailure: number;
    usageError: number;
    internalError: number;
}): Promise<number>;
