import { type DeliveryContext } from "../utils/delivery-context.js";
export declare function buildSubkoiSystemPrompt(params: {
    requesterSessionKey?: string;
    requesterOrigin?: DeliveryContext;
    childSessionKey: string;
    label?: string;
    task?: string;
}): string;
export type SubkoiRunOutcome = {
    status: "ok" | "error" | "timeout" | "unknown";
    error?: string;
};
export declare function runSubkoiAnnounceFlow(params: {
    childSessionKey: string;
    childRunId: string;
    requesterSessionKey: string;
    requesterOrigin?: DeliveryContext;
    requesterDisplayKey: string;
    task: string;
    timeoutMs: number;
    cleanup: "delete" | "keep";
    roundOneReply?: string;
    waitForCompletion?: boolean;
    startedAt?: number;
    endedAt?: number;
    label?: string;
    outcome?: SubkoiRunOutcome;
}): Promise<boolean>;
