import type { SenderAuth } from "../providers/interface.js"; export declare function stripInvisibleChars(text: string): { text: string; removed: number; }; export declare function escapeFenceTags(content: string): string; export declare function newFenceNonce(): string; export type FenceKind = "body" | "subject"; export declare class ResponseFence { readonly nonce: string; hiddenTextChars: number; invisibleChars: number; /** Every message rendered in this response, with whatever the provider could vouch for, so the registry can apply the untrusted-read lock. */ readonly evidence: Array<{ from: string; auth?: SenderAuth; }>; constructor(nonce?: string); private wrap; content(text: string, kind?: FenceKind): string; body(text: string, isHtml?: boolean): string; header(value: string, field: string): string; /** Renders a message's From header and records the provider's authentication evidence alongside it. */ sender(message: { from: string; auth?: SenderAuth; }): string; warnings(): string[]; } export declare function stripFencing(text: string): string; export declare function redactTokens(message: string): string;