import type { Ref } from 'vue'; import type VueFinalModal from './VueFinalModal.vue'; export declare function useToClose(props: InstanceType['$props'], emit: InstanceType['$emit'], options: { vfmRootEl: Ref; vfmContentEl: Ref; visible: Ref; modelValueLocal: Ref; }): { onEsc: () => void; onMouseupRoot: () => void; onMousedown: (e?: MouseEvent) => void; };