import type { ImportDiagnostic } from '@flighthq/importdiagnostics/contract'; import type { PathBooleanKernel } from '@flighthq/path-boolean/contract'; import type { RiveDocumentImportResult } from './contract.scene2d-formats-types.ts'; /** * Imports a `.riv` with every family this package reads — the whole format, in one call. * * ★ THIS MODULE EXISTS TO OWN THE DEFAULT, AND NOTHING ELSE. `createRiveDocumentImportResult` does the work and takes * the registry as an argument; naming the full preset is the one thing that cannot live beside it, because a module that * names `registerAllRiveHandlers` names every family in the package. The audit measured that esbuild shakes the unused * import today — an empty-registry import came out identical either way — but the coupling was there to be broken by any * future change that made the preset reachable, and a gate can only assert the source-level claim if it is true. * * The kernel stays an explicit argument here as it is everywhere else: it is a dependency the host supplies, not a * choice about which families to install. */ export declare function createScene2DFromRiveDocument(pathBooleanKernel: Readonly, source: Readonly, diagnostics?: ImportDiagnostic[]): RiveDocumentImportResult; //# sourceMappingURL=riveImport.d.ts.map