import { Terminable } from "@opendaw/lib-std";
import { SampleLoaderManager } from "@opendaw/studio-adapters";
import { Project } from "../project";
import { RecordingWorklet } from "../RecordingWorklet";
import { Capture } from "./Capture";
export declare namespace RecordAudio {
    type RecordAudioContext = {
        recordingWorklet: RecordingWorklet;
        sourceNode: AudioNode;
        sampleManager: SampleLoaderManager;
        project: Project;
        capture: Capture;
        outputLatency: number;
    };
    export const start: ({ recordingWorklet, sourceNode, sampleManager, project, capture, outputLatency }: RecordAudioContext) => Terminable;
    export {};
}
//# sourceMappingURL=RecordAudio.d.ts.map