export type SentinelFailureAction = 'deny';
export interface SentinelRunFailureOutput {
    error: string;
    source: 'sentinel';
    action: SentinelFailureAction;
    reason: string;
    policy?: string;
}
export type RunLogEntry = {
    timestamp: string;
    level: string;
    message: string;
};
export declare const SENTINEL_KILL_ERROR_PREFIX = "Run killed by Sentinel:";
export declare function parsePolicyFromKillReason(reason: string): string | undefined;
export declare function buildSentinelFailureOutput(reason: string): SentinelRunFailureOutput;
export declare function buildSentinelFailureLog(reason: string): string;
export declare function formatSentinelKillError(reason: string): string;
export declare function extractSentinelKillReason(errorMessage: string): string | null;
export declare function isSentinelKillError(errorMessage: string): boolean;
export declare function appendRunLog(existing: RunLogEntry[] | undefined, entry: RunLogEntry): RunLogEntry[];
export declare function emitSentinelKilledSse(connection: {
    write: (chunk: string) => void;
}, runId: string, reason: string): void;
//# sourceMappingURL=sentinel-run-failure.d.ts.map