import type { ImportDiagnostic, RiveDocument } from '@flighthq/types/contract'; /** * Decodes the `.riv` container into its header and flat core-object stream. This is the format's * bedrock layer and performs no interpretation: type keys and property keys stay numeric, and * building artboards, shapes, or animations out of them belongs to later stages. * * Returns null for a file that cannot be traversed, which includes the one case the format itself * cannot recover from — a property key whose width is declared neither by the reader nor by the * file's own table of contents, after which the byte position is no longer known. */ export declare function parseRiveDocument(source: Readonly, diagnostics?: ImportDiagnostic[]): RiveDocument | null; //# sourceMappingURL=riveDocument.d.ts.map