///
import { NameTypes } from "../../types/resources/name";
import Pronunciation from "../../types/resources/pronunciation";
export declare type TermsAndConditions = {
component: JSX.Element;
isAccepted(): Promise;
onAccept(): Promise;
};
export declare type RecorderState = {
isOpen: boolean;
name: string | null;
type: NameTypes | null;
pronunciation?: Pronunciation | undefined;
termsAndConditions: TermsAndConditions | null;
};
export declare type SetRecorderState = (isOpen: boolean, name?: string, type?: NameTypes) => void;
declare function useRecorderState(defaultState?: {
isOpen: boolean;
name: any;
type: any;
termsAndConditions: any;
pronunciation: any;
}): readonly [RecorderState, () => void, (props: Omit) => void];
export default useRecorderState;