import type { ImportDiagnostic } from '@flighthq/importdiagnostics/contract'; import type { LottieDocument, LottieDocumentImportOptions, LottieDocumentImportResult } from './contract.scene2d-formats-types.ts'; /** * Reads a Lottie document into a scene, with every layer and shape item Flight supports unless the caller names * fewer. * * ★ THIS MODULE EXISTS TO OWN THE DEFAULT, AND NOTHING ELSE. `createScene2DFromLottieDocumentWithRegistry` does the * work and takes the registry as an argument; resolving `undefined` to the full family is the one thing that cannot * live there, because naming fifteen handlers from the orchestrator would put the path, polystar, gradient, text and * image code into the module graph of every caller — including the caller who asked for null and solid layers only. * * Behaviour is unchanged for every existing caller: `createScene2DFromLottieDocument(source)` reads what it always * read, in the order it always read it, and the `layerHandlers` / `shapeItemHandlers` options narrow exactly as * before. */ export declare function createScene2DFromLottieDocument(source: string | Readonly, diagnostics?: ImportDiagnostic[], options?: Readonly): LottieDocumentImportResult; //# sourceMappingURL=lottieImport.d.ts.map