import type { FileInfo } from "../../index.js"; import type { FilesError } from "../errors.js"; import type { WireBulkError, WireFileInfo } from "./protocol.js"; export declare const fileInfoToWire: (file: FileInfo, unscope: (key: string) => string) => WireFileInfo; /** * A per-key bulk failure for the wire: the key unscoped, and the storage key a * provider's message names rewritten to it, so the authorize prefix never * reaches the client. */ export declare const bulkErrorToWire: (error: FilesError, key: string, unscope: (key: string) => string) => WireBulkError; //# sourceMappingURL=serialize.d.ts.map