import { ReactNode } from "react";
import { InputType } from "@ryuzaki13/react-foundation-lib/types";
import { type SelectOptionGroup } from "../SelectOptionGroup";
export declare function getOptionSearchText<T extends InputType>({ option, getOptionLabel, getOptionCode, getOptionGroup }: {
    option: T;
    getOptionLabel: (option: T) => ReactNode;
    getOptionCode?: (option: T) => ReactNode;
    getOptionGroup?: (option: T) => SelectOptionGroup | undefined;
}): string;
/** Находит selected option по value и возвращает fallback, если значение еще не нормализовано. */
export declare function resolveSelectedOption<TOption extends {
    value: string;
}>(options: readonly TOption[], value: string, fallback: TOption): TOption;
//# sourceMappingURL=getOptionSearchText.d.ts.map