export declare const LOCAL_ASSET_TAG = "hb-local-asset"; export interface LocalAssetPayload { href: string; contentType: string; bodyBase64: string; } type FetchLike = (input: string, init?: RequestInit) => Promise<{ ok: boolean; headers: { get(name: string): string | null; }; arrayBuffer(): Promise; }>; export declare function isLocalVerifyOrigin(href: string): boolean; export declare function localAssetHrefs(doc: Document, pageHref: string): string[]; /** @deprecated use localAssetHrefs */ export declare function localImageHrefs(doc: Document, pageHref: string): string[]; export declare class LocalAssetSnapshotCapture { private emit; private fetchImpl?; private encode; private captured; private bytesSent; private count; private rescanTimer; constructor(emit: (payload: LocalAssetPayload) => void, fetchImpl?: FetchLike | undefined, encode?: (bytes: Uint8Array) => string); captureFromDocument(doc: Document, pageHref: string): void; capture(hrefs: string[]): Promise; dispose(): void; } export {}; //# sourceMappingURL=localAssetSnapshot.d.ts.map