/// <reference types="react" />
import type { MediaAnnotationWithTextAndTag } from '@labelu/interface';
import type { AudioAnnotatorConfig, MediaSample } from './context';
export interface AudioAnnotatorRef {
    getAnnotations: () => MediaAnnotationWithTextAndTag[];
    getSample: () => MediaSample | undefined;
}
export interface AnnotatorProps {
    samples: MediaSample[];
    autoPlay?: boolean;
    config?: AudioAnnotatorConfig;
    renderSidebar?: () => React.ReactNode;
    renderAttributes?: () => React.ReactNode;
    editingSample?: MediaSample;
    maxHistoryCount?: number;
    primaryColor?: string;
    toolbarExtra?: React.ReactNode;
    toolbarRight?: React.ReactNode;
}
export declare const Annotator: import("react").ForwardRefExoticComponent<AnnotatorProps & import("react").RefAttributes<AudioAnnotatorRef>>;
//# sourceMappingURL=Annotator.d.ts.map