import type { MutableRefObject } from 'react';
declare type TargetValue<T> = T | undefined | null;
declare type TargetType = HTMLElement | Element | Window | Document;
declare type BasicTarget<T extends TargetType = Element> = (() => TargetValue<T>) | TargetValue<T> | MutableRefObject<TargetValue<T>>;
interface Options {
    onExit?: () => void;
    onEnter?: () => void;
}
declare const useFullscreen: (target: BasicTarget, options?: Options) => {
    isFullscreen: boolean;
    enterFullscreen: () => void;
    exitFullscreen: () => void;
    toggleFullscreen: () => void;
};
export default useFullscreen;
