import { type ComponentPropsWithoutRef, type ReactNode } from "react";
export type MultiSelectSize = "sm" | "md" | "lg";
export interface MultiSelectOption {
    value: string;
    label: string;
    icon?: ReactNode;
    description?: string;
    /** Per-option disable (e.g. "you don't have permission for this scope"). */
    disabled?: boolean;
}
type DivPropsBase = Omit<ComponentPropsWithoutRef<"div">, "onChange" | "defaultValue" | "children">;
export interface MultiSelectProps extends DivPropsBase {
    options: MultiSelectOption[];
    value?: string[];
    defaultValue?: string[];
    onChange?: (values: string[]) => void;
    placeholder?: string;
    searchPlaceholder?: string;
    label?: ReactNode;
    error?: boolean;
    errorMessage?: ReactNode;
    disabled?: boolean;
    size?: MultiSelectSize;
    /** Force searchable on/off. Auto: enabled when options.length > 6. */
    searchable?: boolean;
    /** Hard cap on visible chips. Overrides auto-measurement. */
    maxVisibleTags?: number;
    /** Maximum number of selectable options. */
    maxTags?: number;
    /** Hide already-selected options from the dropdown list. Default false —
     *  selected options stay visible with the selected-row tint so users can
     *  re-toggle them from the list (matches the platform pattern across
     *  workflow builder, permission pickers, etc.). Set true to fall back to
     *  the "filter-on-select" behavior. */
    hideSelected?: boolean;
    /** Show our design-system `<Tooltip>` on hover over options + tag chips
     *  whose label may be truncated. Default false — opt in via this flag
     *  per the platform's "chrome stays quiet unless explicitly enabled"
     *  convention. The Tooltip's content surfaces the full label (and the
     *  option's description, when present). */
    showOverflowTooltips?: boolean;
}
export declare const MultiSelect: import("react").ForwardRefExoticComponent<MultiSelectProps & import("react").RefAttributes<HTMLDivElement>>;
export {};
//# sourceMappingURL=MultiSelect.d.ts.map