/**
* Scalar Modal component
*
* A dialog overlay with configurable size and variant.
* Use the {@link useModal} hook to control the open state.
*
* @example
*
* Modal content
*
*/
declare const _default: typeof __VLS_export;
export default _default;
/** Hook for creating a reactive modal state */
export declare function useModal(): {
open: boolean;
show: () => void;
hide: () => void;
};
declare const __VLS_export: __VLS_WithSlots;
title?: string;
bodyClass?: string;
maxWidth?: string;
size?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "xxs" | undefined;
variant?: "form" | "search" | "error" | undefined;
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
close: () => any;
}, string, import("vue").PublicProps, Readonly<{
state: ReturnType;
title?: string;
bodyClass?: string;
maxWidth?: string;
size?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "xxs" | undefined;
variant?: "form" | "search" | "error" | undefined;
}> & Readonly<{
onClose?: (() => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
default?: (props: {}) => any;
} & {
default?: (props: {}) => any;
}>;
type __VLS_WithSlots = T & {
new (): {
$slots: S;
};
};
//# sourceMappingURL=ScalarModal.vue.d.ts.map