import { type ResolvedOption } from './use-options-resolver'; export type OptionIdResolution = { status: 'found'; option: ResolvedOption; } /** The host resolved the ids and this one is not there (deleted, or not visible). */ | { status: 'missing'; } /** Could not tell (old host, error): show the raw value. */ | { status: 'unknown'; }; /** Ids the kernel accepts per request (dynamic.MaxOptionsIDs). */ export declare const OPTION_IDS_CHUNK = 100; export interface UseResolveOptionIdsArgs { /** FK target: `/options/`. */ ref?: string; /** Explicit options endpoint (wins over `ref`), as in useOptionsResolver. */ endpoint?: string; /** `?field=`; defaults to `id` with a `ref`. */ field?: string; /** Ids to label. Pass only those not already loaded / seeded. */ ids: readonly (string | number)[]; enabled?: boolean; } export interface UseResolveOptionIdsResult { /** Settled resolutions by id (as given, stringified). */ resolved: ReadonlyMap; /** Some id is still being resolved. */ loading: boolean; } export declare function useResolveOptionIds(args: UseResolveOptionIdsArgs): UseResolveOptionIdsResult; //# sourceMappingURL=use-option-ids.d.ts.map