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