import { KdsInputFieldProps } from '../types';
import { kdsIntervalDirectionality, kdsIntervalInputFormat } from './enums';
export type KdsIntervalInputFormat = (typeof kdsIntervalInputFormat)[keyof typeof kdsIntervalInputFormat];
/** date or time — the two formats actually used inside the popover (excludes date_or_time). */
export type KdsIntervalInputUsedFormat = Extract<KdsIntervalInputFormat, "date" | "time">;
export type KdsIntervalDirectionality = (typeof kdsIntervalDirectionality)[keyof typeof kdsIntervalDirectionality];
export type KdsIntervalInputProps = KdsInputFieldProps & {
    /** Restricts the interval type. `date_or_time` allows format switching in the popover. */
    format?: KdsIntervalInputFormat;
    /** Allows negative intervals (descending/backward). */
    allowDescending?: boolean;
};
export type IntervalInputPopoverProps = {
    /** Available format modes. `date_or_time` enables switching inside the popover. */
    format: KdsIntervalInputFormat;
    /** Shows the forward/backward direction switch when enabled. */
    allowDescending: boolean;
};
//# sourceMappingURL=types.d.ts.map