/**
 * Find Stream Variables
 *
 * Recursively walks a variable's dependency tree to find all StreamVariables.
 * Used for tracking stream usage when components mount/unmount.
 */
import { type AnyVariable, type StreamVariable } from '../../types';
/**
 * Recursively find all StreamVariables in a variable's dependency tree.
 *
 * Handles all variable types:
 * - DerivedVariable: walks `variables` array
 * - SwitchVariable: walks `value`, `value_map`, `default`
 * - StateVariable: walks `parent_variable`
 * - SingleVariable: walks `default` (can be DerivedVariable via create_from_derived)
 * - StreamVariable: collects it and walks its `variables` array
 *
 * @param variable The variable to search
 * @returns Array of all StreamVariables found in the dependency tree
 */
export declare function findStreamVariables(variable: AnyVariable<unknown>): StreamVariable[];
/**
 * Find all StreamVariables in an array of variables.
 *
 * @param variables Array of variables to search
 * @returns Array of all unique StreamVariables found
 */
export declare function findStreamVariablesInArray(variables: unknown[]): StreamVariable[];
//# sourceMappingURL=find-stream-variables.d.ts.map