/** * BranchSelector Component * * Dropdown for switching between branches. */ import React from 'react'; import type { Branch } from '@pantheon-systems/css-client'; interface BranchSelectorProps { /** * List of available branches. */ branches: Branch[]; /** * Currently selected branch. */ currentBranch: Branch | null; /** * Callback when branch selection changes. */ onSwitch: (branchId: string) => Promise; /** * Whether the selector is disabled. */ disabled?: boolean; /** * Whether there are unsaved changes (shows warning before switching). */ hasUnsavedChanges?: boolean; /** * Additional CSS class name. */ className?: string; } /** * Dropdown component for selecting and switching branches. * * @example * ```tsx * * ``` */ export declare function BranchSelector({ branches, currentBranch, onSwitch, disabled, hasUnsavedChanges, className, }: BranchSelectorProps): React.ReactElement; export {};