export interface ProvenanceIssue { code: string; level: 'error' | 'warn'; path: string; message: string; fix: string; } export declare const SOURCED_KINDS: readonly ["sim-mod", "sim-official", "recording"]; export type SourcedKind = typeof SOURCED_KINDS[number]; /** Does this free text claim the sound is synthesised or generated (and not in a negated clause)? */ export declare function claimsSynthesis(text: unknown): string | undefined; export interface ProvenanceRow { slot: string; consumed: boolean; /** sourced: every recording cites a sim/recording source; legacy: recordings without provenance; empty: no recording. */ status: 'sourced' | 'legacy' | 'synthesised' | 'empty'; kind?: string; sim?: string; mod?: string; modUrl?: string; sourceFile?: string; event?: string; sample?: string; /** How many recordings the slot (or ladder) plays. */ recordings: number; reason?: string; transforms?: string[]; } /** True when every rung of `blendName` cites a sourced (non-synthesised) recording. */ export declare function blendIsSourced(pkg: unknown, blendName: string): boolean; export interface ProvenanceReport { rows: ProvenanceRow[]; issues: ProvenanceIssue[]; /** The car would play the runtime's built-in synthesised engine (no recorded ladder). */ engineUnsourced: boolean; } /** * A battery-electric car, read from what the package says the car IS — never from `audio.drivetrain: "electric"`, * which switches the runtime to its synthesised motor voice and ignores recorded ladders. The physics says so with a * zero cylinder count or an electric engine/motor declaration; a bare audio block says so with a motor ladder (a blend * whose provenance carries the source event's pitch automation). */ export declare function isElectricCar(pkg: unknown): boolean; /** One forward ratio (an EV's single-speed reduction): nothing to shift. Unknown without physics. */ export declare function isSingleSpeed(pkg: unknown): boolean | undefined; export declare function provenanceReport(pkg: unknown): ProvenanceReport; export declare function formatProvenance(rows: readonly ProvenanceRow[]): string[];