type Options = {
    autoClosable?: boolean;
    autoCloseTimeout?: number;
    onClose?: () => void;
};
export declare const useAutoClose: ({ autoClosable, autoCloseTimeout: externalAutoCloseTimeout, onClose, }: Options) => void;
export {};
