export type VariableNode = {
    key: string;
    label: string;
    /** Empty array indicates a leaf node */
    children: VariableNode[];
};
/**
 * Legacy shape — accepted for backwards compatibility during migration.
 * Consumers should migrate to `VariableNode` (key + children).
 */
export type LegacyVariableNode = {
    id: string;
    label: string;
    token?: string;
    children?: LegacyVariableNode[];
};
/** Accepts both new and legacy shapes */
export type VariableNodeInput = VariableNode | LegacyVariableNode;
export type InsertVariableProps = {
    title: string;
    variables: VariableNodeInput[];
};
