/** The type of branch being added. */
export type BranchAddMode = "switch-case" | "fork-branch" | "catch-handler";
export interface BranchAddResult {
    /** The name/identifier for the new branch. */
    readonly name: string;
    /** For switch cases: the condition expression. */
    readonly condition?: string;
    /** For catch handlers: the error type filter. */
    readonly errorType?: string;
}
export interface BranchAddPopoverProps {
    readonly open: boolean;
    readonly onOpenChange: (open: boolean) => void;
    readonly onSubmit: (result: BranchAddResult) => void;
    readonly anchorRef: React.RefObject<HTMLElement | null>;
    readonly mode: BranchAddMode;
    /** Existing branch names to prevent duplicates. */
    readonly existingNames?: ReadonlySet<string>;
    readonly side?: "top" | "bottom" | "right" | "left";
    readonly align?: "start" | "center" | "end";
}
/**
 * Inline popover for adding a branch to a switch_case, fork, or try_catch node.
 *
 * Renders a minimal form with contextual fields based on `mode`:
 * - switch-case: name + condition expression
 * - fork-branch: name only
 * - catch-handler: name + error type filter
 *
 * @since T08 (Contextual Task Picker)
 */
export declare const BranchAddPopover: import("react").NamedExoticComponent<BranchAddPopoverProps>;
//# sourceMappingURL=BranchAddPopover.d.ts.map