export type StringWidgetOptions = {
    pattern?: string;
    minLength?: number;
    maxLength?: number;
};
export type BinaryWidgetOptions = StringWidgetOptions & {
    format: 'binary';
    mediaType?: string;
};
export type DateTimeWidgetOptions = StringWidgetOptions & {
    format: 'date-time';
};
export type DateWidgetOptions = StringWidgetOptions & {
    format: 'date';
};
export type EmailWidgetOptions = StringWidgetOptions & {
    format: 'email';
};
export type MarkdownWidgetOptions = StringWidgetOptions & {
    format: 'markdown';
};
export type PasswordWidgetOptions = StringWidgetOptions & {
    format: 'password';
};
export type TextAreaWidgetOptions = StringWidgetOptions & {
    format: 'textarea';
    rows?: number;
};
export type TimeWidgetOptions = StringWidgetOptions & {
    format: 'time';
};
export type UUIDWidgetOptions = StringWidgetOptions & {
    format: 'uuid';
};
export type URIWidgetOptions = StringWidgetOptions & {
    format: 'uri';
};
export type URLWidgetOptions = StringWidgetOptions & {
    format: 'url';
};
export type URIReferenceWidgetOptions = StringWidgetOptions & {
    format: 'uri-reference';
};
export type HostnameWidgetOptions = StringWidgetOptions & {
    format: 'hostname';
};
export type IPv4WidgetOptions = StringWidgetOptions & {
    format: 'ipv4';
};
export type IPv6WidgetOptions = StringWidgetOptions & {
    format: 'ipv6';
};
export type RegexWidgetOptions = StringWidgetOptions & {
    format: 'regex';
};
export type DurationWidgetOptions = StringWidgetOptions & {
    format: 'duration';
};
export type ColorWidgetOptions = StringWidgetOptions & {
    format: 'color';
};
export type AnyStringWidgetOptions = BinaryWidgetOptions | DateTimeWidgetOptions | DateWidgetOptions | EmailWidgetOptions | MarkdownWidgetOptions | PasswordWidgetOptions | TextAreaWidgetOptions | TimeWidgetOptions | UUIDWidgetOptions | URIWidgetOptions | URLWidgetOptions | URIReferenceWidgetOptions | HostnameWidgetOptions | IPv4WidgetOptions | IPv6WidgetOptions | RegexWidgetOptions | DurationWidgetOptions | ColorWidgetOptions;
