import type { BridgeDocument } from "./types.ts"; export type FormatBridgeErrorOptions = { source?: string; filename?: string; }; export type BridgeErrorDocumentContext = Pick; export declare function attachBridgeErrorDocumentContext(err: T, document?: BridgeErrorDocumentContext): T; export declare function formatBridgeError(err: unknown, options?: FormatBridgeErrorOptions): string; //# sourceMappingURL=formatBridgeError.d.ts.map