import { Progress, Terminable, UUID } from "@opendaw/lib-std";
import { SampleProvider } from "./SampleProvider";
import { SampleLoader, SampleLoaderManager, SampleMetaData } from "@opendaw/studio-adapters";
import { AudioData } from "@opendaw/lib-dsp";
export declare class GlobalSampleLoaderManager implements SampleLoaderManager, SampleProvider {
    #private;
    constructor(provider: SampleProvider);
    fetch(uuid: UUID.Bytes, progress: Progress.Handler): Promise<[AudioData, SampleMetaData]>;
    remove(uuid: UUID.Bytes): void;
    invalidate(uuid: UUID.Bytes): void;
    register(uuid: UUID.Bytes): Terminable;
    record(loader: SampleLoader): void;
    getOrCreate(uuid: UUID.Bytes): SampleLoader;
    getAudioData(uuid: UUID.Bytes): Promise<AudioData>;
}
//# sourceMappingURL=GlobalSampleLoaderManager.d.ts.map