export default useDetectElementResize;
declare function useDetectElementResize({ id, nonce, onResize, onExit }: {
    id: any;
    nonce?: string | undefined;
    onResize?: (() => void) | undefined;
    onExit?: (() => void) | undefined;
}): any[];
