export interface SheetEvent { (e: "update:show", value: boolean): void; (e: "submit", value: any): void; } export default function useSheet(): { open: any>({ component, props }: { component: Component; props?: InstanceType["$props"] | undefined; }) => { instance: import("vue").VNode; close: () => Promise; onOk: (okFn: (value: any) => void) => void; onCancel: (cancelFn: () => void) => void; }; };