import { Procedure, unitValue, UUID } from "@opendaw/lib-std";
import { Sample, SampleMetaData } from "@opendaw/studio-adapters";
import { SampleAPI } from "@opendaw/studio-core";
import { AudioData } from "@opendaw/lib-dsp";
export declare class OpenSampleAPI implements SampleAPI {
    static readonly ApiRoot = "https://api.opendaw.studio/samples";
    static readonly FileRoot = "https://assets.opendaw.studio/samples";
    static get(): OpenSampleAPI;
    private constructor();
    all(): Promise<ReadonlyArray<Sample>>;
    get(uuid: UUID.Bytes): Promise<Sample>;
    load(uuid: UUID.Bytes, progress: Procedure<unitValue>): Promise<[AudioData, Sample]>;
    upload(arrayBuffer: ArrayBuffer, metaData: SampleMetaData): Promise<void>;
    allowsUpload(): boolean;
}
//# sourceMappingURL=OpenSampleAPI.d.ts.map