/** Strip optional catalog flags before subcommand (machine catalog for bare `wk run` / list-commands). */
export declare function peelRunArgv(tail: string[]): {
    jsonCatalog: boolean;
    listCommands: boolean;
    outputFile?: string;
    rest: string[];
};
export declare function policyDeniedBody(params: {
    policyOp: string | null | undefined;
    message: string;
    hint: string;
    wrongEnvLane: boolean;
    subcommand: string;
    hasPolicyApprovalField: boolean;
}): Record<string, unknown>;
