import React, { ComponentProps, ReactNode } from "react";
import AccessibleTooltipButton from "../elements/AccessibleTooltipButton";
import { Playback, PlaybackState } from "../../../audio/Playback";
type Props = Omit<ComponentProps<typeof AccessibleTooltipButton>, "title" | "onClick" | "disabled" | "element" | "ref"> & {
    playback: Playback;
    playbackPhase: PlaybackState;
};
/**
 * Displays a play/pause button (activating the play/pause function of the recorder)
 * to be displayed in reference to a recording.
 */
export default class PlayPauseButton extends React.PureComponent<Props> {
    constructor(props: Props);
    private onClick;
    toggleState(): Promise<void>;
    render(): ReactNode;
}
export {};
