import { type BasedAdditionalProps, type SelectBoxOption } from '../SelectBox.types'; /** * Finds an option in a (potentially) nested SelectBox options array by its value. * * @param options - The (possibly nested) options array to search in. * * @param value - The value to search for. * * @returns The found option or null if no option with the given value exists. */ export declare function findOptionByValue(options: (SelectBoxOption | null | undefined)[], value: T | undefined): SelectBoxOption | null;