export type PolicyPromptIo = {
    writeError: (message: string) => void;
    readStdinLine?: () => Promise<string | null>;
};
/** Enable TTY interactive approval for sensitive `workspace-kit run` when truthy (`on`, `1`, `true`, `yes`). */
export declare function isInteractiveApprovalEnabled(env: NodeJS.ProcessEnv): boolean;
export type InteractiveApprovalChoice = {
    kind: "deny";
} | {
    kind: "approve";
    scope: "once" | "session";
};
/**
 * Prompt for Deny / Allow once / Allow for session. Returns deny if user cancels or input unrecognized.
 */
export declare function promptSensitiveRunApproval(io: PolicyPromptIo, operationId: string, commandLabel: string, env: NodeJS.ProcessEnv): Promise<InteractiveApprovalChoice | null>;
