import type { Snippet } from 'svelte';
import { Dialog, type WithoutChild } from 'bits-ui';
import { type ButtonProps } from '../button';
export type ModalProps = Dialog.RootProps & {
    title?: string;
    titleSnippet?: Snippet;
    titleClass?: string;
    description?: string;
    descriptionSnippet?: Snippet;
    descriptionClass?: string;
    interactOutsideBehavior?: 'close' | 'ignore';
    closeButton?: boolean;
    contentProps?: WithoutChild<Dialog.ContentProps>;
    yesButton?: boolean | {
        label?: string;
        onclick?: () => void;
        variant?: ButtonProps['variant'];
        disabled?: boolean;
        class?: string;
    };
    noButton?: boolean | {
        label?: string;
        onclick?: () => void;
        variant?: ButtonProps['variant'];
        disabled?: boolean;
        class?: string;
    };
    class?: string;
    onOpenAutoFocus?: (event: Event) => void;
};
declare const Modal: import("svelte").Component<ModalProps, {}, "open">;
type Modal = ReturnType<typeof Modal>;
export default Modal;
