import type { LiveMapDocumentContent } from "../../types/livemap.types.js"; import type { LocusEncodedGraphContent } from "../../types/locus.types.js"; export type LocusGraphContentCodecErrorCode = "LOCUS_GRAPH_CONTENT_FORMAT_UNKNOWN" | "LOCUS_GRAPH_CONTENT_ENVELOPE_INVALID" | "LOCUS_GRAPH_CONTENT_PAYLOAD_INVALID" | "LOCUS_GRAPH_CONTENT_GRAPH_INVALID"; export declare class LocusGraphContentCodecError extends Error { readonly code: LocusGraphContentCodecErrorCode; readonly cause?: unknown | undefined; constructor(code: LocusGraphContentCodecErrorCode, message: string, cause?: unknown | undefined); } export declare function encode_locus_graph_content(content: LiveMapDocumentContent): LocusEncodedGraphContent; export declare function decode_locus_graph_content(encoded: unknown): LiveMapDocumentContent; export declare function is_locus_encoded_graph_content(value: unknown): value is LocusEncodedGraphContent; //# sourceMappingURL=locus.graph-content-codec.d.ts.map