import { Observer, Option, Subscription, UUID } from "@opendaw/lib-std";
import { Peaks } from "@opendaw/lib-fusion";
import { SampleLoader, SampleLoaderState, SampleMetaData } from "@opendaw/studio-adapters";
import { AudioData } from "@opendaw/lib-dsp";
export declare class DefaultSampleLoader implements SampleLoader {
    #private;
    constructor(uuid: UUID.Bytes);
    subscribe(observer: Observer<SampleLoaderState>): Subscription;
    get uuid(): UUID.Bytes;
    get data(): Option<AudioData>;
    get meta(): Option<SampleMetaData>;
    get peaks(): Option<Peaks>;
    get state(): SampleLoaderState;
    setLoaded(data: AudioData, peaks: Peaks, meta: SampleMetaData): void;
    setProgress(progress: number): void;
    setError(reason: string): void;
    invalidate(): void;
    toString(): string;
}
//# sourceMappingURL=DefaultSampleLoader.d.ts.map