import { type RedactionReport, type RedactionRule } from '../trace/redact';
import type { WorkflowTraceEnvelope } from './types';
export interface WorkflowTraceSanitizationReport extends RedactionReport {
    hashedArgs: number;
    truncatedStrings: number;
    droppedPayloadKeys: Record<string, number>;
    droppedArtifactContents: number;
}
export interface SanitizeWorkflowTraceEnvelopeOptions {
    rules?: readonly RedactionRule[];
    maxStringLength?: number;
    hashSalt?: string;
    approvedArtifactUris?: readonly string[];
    approvedArtifactKinds?: readonly string[];
}
export interface SanitizedWorkflowTraceEnvelopeResult {
    envelope: WorkflowTraceEnvelope;
    report: WorkflowTraceSanitizationReport;
}
export declare function sanitizeWorkflowTraceEnvelope(input: WorkflowTraceEnvelope | unknown, options?: SanitizeWorkflowTraceEnvelopeOptions): SanitizedWorkflowTraceEnvelopeResult;
//# sourceMappingURL=sanitize.d.ts.map