/**
 * Approval Rules 3.0 — boolean toggle primitive.
 *
 * Inline iOS-style switch built locally rather than pulling in a new
 * dependency, because (a) the project does not export a Switch /
 * Toggle field, and (b) the two current consumers (the Separation of
 * Duties toggle inside Set Approval Stages, and the "Set as default
 * fallback" toggle inside Add Rule) want the same shape.
 *
 * The control writes a bare boolean to form state under the supplied
 * field name — no {allOptions, selectedOption} wrapping like the
 * shared SingleSelectField. That matches the canonical shape of
 * boolean form slots like isFallback and separationOfDuties so the
 * screen connector reads them directly without normalisation.
 */
export interface SwitchProps {
    /** react-hook-form field path (e.g. "isFallback" or "separationOfDuties"). */
    name: string;
    /** Optional starting value. Defaults to false. */
    defaultValue?: boolean;
}
export declare function Switch({ name, defaultValue }: SwitchProps): import("react/jsx-runtime").JSX.Element;
export default Switch;
