import type { Ref } from 'vue' export type SlotType = string | JSX.Element | Array | (() => JSX.Element | Array) export interface ModalWindowSlots { head: SlotType body: SlotType footer?: SlotType } export interface ModalWindowInterface { open: (slots?: ModalWindowSlots) => void close: () => void isLocked: Ref }