import type { Component } from 'svelte';
import type { Calendar, CalendarSingleRootProps, WithoutChildrenOrChild } from 'bits-ui';
import '@sjsf/form/fields/extra-widgets/date-picker';
import type { ButtonProps } from '../types/button';
import '../types/popover';
declare module '@sjsf/form' {
    interface UiOptions {
        shadcnDatePicker?: Omit<WithoutChildrenOrChild<CalendarSingleRootProps>, 'type'>;
        shadcnDatePickerTrigger?: ButtonProps;
        shadcnDateFormatter?: (date: Date) => string;
    }
}
declare module '../context.js' {
    interface ThemeComponents {
        Calendar: Component<WithoutChildrenOrChild<Calendar.RootProps>, {}, 'value' | 'placeholder' | 'ref'>;
    }
}
declare const DatePicker: Component<import("@sjsf/form/fields/widgets").WidgetCommonProps<string>, {}, "value">;
type DatePicker = ReturnType<typeof DatePicker>;
export default DatePicker;
