import { MdyWidgetKind } from "./kinds.js"; export declare const MDY_WIDGET_CONTRACTS: Readonly<{ text: import("./kinds.js").MdyWidgetDefinition<"control" | "errorItem" | "errors" | "inlineError" | "inputWrapper" | "label" | "prefix" | "requiredMarker" | "root" | "suffix" | "supportingText">; email: import("./kinds.js").MdyWidgetDefinition<"control" | "errorItem" | "errors" | "inlineError" | "inputWrapper" | "label" | "prefix" | "requiredMarker" | "root" | "suffix" | "supportingText">; password: import("./kinds.js").MdyWidgetDefinition<"control" | "errorItem" | "errors" | "inlineError" | "inputWrapper" | "label" | "prefix" | "requiredMarker" | "root" | "suffix" | "supportingText">; textarea: import("./kinds.js").MdyWidgetDefinition<"control" | "errorItem" | "errors" | "inlineError" | "inputWrapper" | "label" | "requiredMarker" | "root" | "supportingText">; number: import("./kinds.js").MdyWidgetDefinition<"control" | "decrement" | "errorItem" | "errors" | "increment" | "inlineError" | "inputWrapper" | "label" | "requiredMarker" | "root" | "supportingText">; slider: import("./kinds.js").MdyWidgetDefinition<"control" | "errorItem" | "errors" | "inlineError" | "label" | "requiredMarker" | "root" | "supportingText" | "track" | "value">; checkbox: import("./kinds.js").MdyWidgetDefinition<"control" | "errorItem" | "errors" | "indicator" | "inputWrapper" | "label" | "requiredMarker" | "root" | "submitFalse" | "supportingText">; toggle: import("./kinds.js").MdyWidgetDefinition<"control" | "errorItem" | "errors" | "inlineError" | "inputWrapper" | "label" | "requiredMarker" | "root" | "submitFalse" | "supportingText" | "thumb" | "track">; radio: import("./kinds.js").MdyWidgetDefinition<"errorItem" | "errors" | "group" | "label" | "option" | "optionControl" | "optionLabel" | "requiredMarker" | "root" | "supportingText">; segmented: import("./kinds.js").MdyWidgetDefinition<"errorItem" | "errors" | "group" | "label" | "option" | "optionCheck" | "optionControl" | "optionText" | "requiredMarker" | "root" | "supportingText">; select: import("./kinds.js").MdyWidgetDefinition<"arrow" | "empty" | "errorItem" | "errors" | "inlineError" | "inputWrapper" | "label" | "loading" | "option" | "options" | "placeholder" | "popup" | "requiredMarker" | "root" | "search" | "supportingText" | "trigger" | "value">; multiselect: import("./kinds.js").MdyWidgetDefinition<"announcement" | "arrow" | "box" | "chip" | "chipMove" | "chipRemove" | "chipRow" | "chipTooltip" | "chips" | "clearAll" | "empty" | "errorItem" | "errors" | "inlineError" | "inputWrapper" | "label" | "loading" | "option" | "optionCheck" | "optionCount" | "optionLabel" | "optionStep" | "optionWrapper" | "options" | "overflowCount" | "placeholder" | "popup" | "requiredMarker" | "root" | "search" | "supportingText" | "trigger" | "wayBackAction">; datepicker: import("./kinds.js").MdyWidgetDefinition<"calendar" | "control" | "dialogHeader" | "errorItem" | "errors" | "grid" | "gridcell" | "inlineError" | "inputWrapper" | "label" | "monthCell" | "monthPicker" | "popup" | "requiredMarker" | "root" | "row" | "supportingText" | "toggle" | "weekday" | "weekdays" | "yearCell" | "yearPicker">; daterange: import("./kinds.js").MdyWidgetDefinition<"calendar" | "dialogHeader" | "endControl" | "errorItem" | "errors" | "grid" | "gridcell" | "inlineError" | "inputWrapper" | "label" | "monthCell" | "monthPicker" | "popup" | "requiredMarker" | "root" | "row" | "separator" | "startControl" | "supportingText" | "toggle" | "weekday" | "weekdays" | "yearCell" | "yearPicker">; timepicker: import("./kinds.js").MdyWidgetDefinition<"action" | "actions" | "clock" | "container" | "content" | "control" | "dialFace" | "dialHand" | "dialNumber" | "dialUnavailable" | "dialUnavailableArc" | "dialog" | "errorItem" | "errors" | "header" | "hour" | "hourControl" | "inlineError" | "inputWrapper" | "label" | "minute" | "minuteControl" | "modeToggle" | "period" | "periodOption" | "popup" | "requiredMarker" | "root" | "supportingText" | "toggle">; file: import("./kinds.js").MdyWidgetDefinition<"clear" | "content" | "control" | "dropzone" | "errorItem" | "errors" | "fileItem" | "fileList" | "label" | "rejected" | "requiredMarker" | "root" | "supportingText">; colors: import("./kinds.js").MdyWidgetDefinition<"control" | "customEntry" | "customTint" | "errorItem" | "errors" | "hexInput" | "inlineError" | "inputWrapper" | "label" | "nativePicker" | "popup" | "presets" | "preview" | "requiredMarker" | "root" | "supportingText" | "swatch" | "toggle">; }>; export type MdyWidgetPart = keyof (typeof MDY_WIDGET_CONTRACTS)[K]["parts"] & string; /** * The kinds whose contract declares a `popup` part — the ones an overlay policy can be asked about. * * Derived from the catalog rather than listed, so a widget that gains or loses a popup changes this * by changing its own definition, and a caller asking `partClasses(kind, "popup")` for a checkbox * fails to compile instead of at runtime. */ export type MdyPopupWidgetKind = { [K in MdyWidgetKind]: "popup" extends MdyWidgetPart ? K : never; }[MdyWidgetKind]; export declare const MDY_CANONICAL_UI_CLASSES: readonly string[];