import type { Signal } from '../reactivity/types.ts'; export interface BaseOption { value: string; label: string; disabled?: boolean; } /** * Validates a JSON string → typed option array. * Filters out entries missing `value` or `label` strings. */ export declare function parseDataOptions(json: string, componentName: string): T[]; /** * Fetches remote options with abort-guard and stale-response protection. * Aborts any in-flight request before starting a new one. * Returns the new AbortController for the caller to store. */ export declare function fetchDataOptions(url: string, previous: AbortController | null, target: Signal, componentName: string): Promise; //# sourceMappingURL=data-options.d.ts.map