export type PromptShape = 'string' | 'string[]' | 'preset' | 'undefined'; export interface SystemPromptProvenance { source: string; shape: PromptShape; length?: number; } export interface Provenance { systemPrompt?: SystemPromptProvenance; model?: { source: string; }; apiKey?: { source: string; }; } export type ResolutionKind = 'custom-string' | 'custom-string-array' | 'preset-claude-code' | 'undefined'; export interface Resolution { kind: ResolutionKind; note: string; append?: { length: number; }; excludeDynamicSections?: boolean; } export interface DumpPayload { prompt: unknown; options: unknown; provenance: Provenance; } export declare const DUMP_FILE_BANNER = "# AFK PROMPT DUMP \u2014 May contain secrets. Inspect before sharing.\n"; export declare function redactInlineSecrets(text: string): string; export declare function deriveResolution(systemPrompt: unknown): Resolution; export declare function dumpIfEnabled(payload: DumpPayload): void;