import type { Entry, Field, RelationField, UnknownField, ValueOrNestedValue } from '@staticcms/lite';
import type { HitOption } from './types';
export declare function parseNestedFields(hit: Entry, field: string, searchCollectionFields: Field<UnknownField>[]): string;
export declare function parseHitOptions(hits: Entry[], field: RelationField, searchCollectionFields: Field<UnknownField>[]): HitOption[];
export declare function getSelectedOptions(value: HitOption[] | undefined | null): HitOption[] | null;
export declare function getSelectedOptions(value: string[] | undefined | null): string[] | null;
export declare function getSelectedOptions(value: ValueOrNestedValue[] | undefined | null): ValueOrNestedValue[] | null;
export declare function getSelectedValue(value: string, options: HitOption[], isMultiple: boolean): string | null;
export declare function getSelectedValue(value: string[], options: HitOption[], isMultiple: boolean): string[] | null;
export declare function getSelectedValue(value: string | string[] | null | undefined, options: HitOption[], isMultiple: boolean): string | string[] | null;
export declare function getSelectedValue(value: ValueOrNestedValue | null | undefined, options: HitOption[], isMultiple: boolean): ValueOrNestedValue | ValueOrNestedValue[] | null;
