import type { SoundPackManifest } from './types.js'; /** Minimal store surface {@link ingestFilePack} writes audio blobs into. */ export type AudioAssetSink = { put(data: Uint8Array, input: { kind: 'audio'; mimeType: string; tags?: string[]; source?: string; }): Promise<{ hash: string; }>; }; export type IngestError = { field: string; message: string; }; export type IngestFilePackOptions = { /** Manifest to ingest. Default: `{dir}/manifest.json`. */ manifest?: SoundPackManifest; /** Run {@link validateManifest}. Default true. */ validate?: boolean; }; export type IngestResult = { manifest: SoundPackManifest; ingested: number; errors: IngestError[]; warnings: IngestError[]; }; /** * Validate a file pack, put each `source: 'file'` variant into `store` as * `kind: 'audio'`, and record content hashes on the entry. */ export declare function ingestFilePack(dir: string, store: AudioAssetSink, opts?: IngestFilePackOptions): Promise; //# sourceMappingURL=ingest.d.ts.map