import type { Ref } from 'vue';
interface ModalInstance {
    name: Ref<string>;
    elementRef: Ref<HTMLElement | null>;
    closeOnPressEscape: Ref<boolean>;
    hide: () => void;
}
export declare const OverlayController: {
    instances: {
        [key: string]: any;
    };
    stack: string[];
    zIndex: number;
    register(instance: ModalInstance): void;
    unregister(instance: ModalInstance): void;
    open(name: string): void;
    close(name: string): void;
    getTopOverlay(): ModalInstance;
    onPressEscape(): void;
};
export default OverlayController;
