export declare const SEED_UNTRUSTED_CONTENT_BEGIN = "BEGIN SEED UNTRUSTED CONTENT";
export declare const SEED_UNTRUSTED_CONTENT_END = "END SEED UNTRUSTED CONTENT";
export type SeedHtmlSecurityFinding = {
    kind: "hidden_element" | "aria_injection" | "unsafe_url";
    reason: string;
    sample: string;
};
export type SeedHtmlSecurityAnalysis = {
    visible_text: string;
    hidden_elements: SeedHtmlSecurityFinding[];
    aria_injections: SeedHtmlSecurityFinding[];
    unsafe_urls: SeedHtmlSecurityFinding[];
};
export type SeedTrustBoundaryEnvelope = {
    schema_version: 1;
    type: "seed.trust_boundary";
    label: "untrusted_content";
    begin_marker: typeof SEED_UNTRUSTED_CONTENT_BEGIN;
    end_marker: typeof SEED_UNTRUSTED_CONTENT_END;
    escaped_marker_count: number;
    warning_count: number;
    wrapped_excerpt: string;
};
export declare function analyzeSeedUntrustedHtml(html: string): SeedHtmlSecurityAnalysis;
export declare function extractVisibleTextFromHtml(html: string): string;
export declare function wrapSeedUntrustedContent(content: string, warnings?: string[]): SeedTrustBoundaryEnvelope;
export declare function escapeSeedTrustBoundaryMarkers(content: string): {
    content: string;
    escaped_marker_count: number;
};
export declare function classifyUnsafeUrl(rawUrl: string): SeedHtmlSecurityFinding | undefined;
