import { type DataSourceField } from '../lib/assistant-config';
export interface ResolvedDataSource {
    name?: string;
    type?: string;
    appSlug: string;
    dsSlug: string;
    labelField?: {
        slug: string;
    };
    idField?: {
        slug: string;
    };
}
export declare function clearRecordFieldsCache(): void;
export interface UseResolvedRecordFieldsResult {
    fields: DataSourceField[];
    dataSource: ResolvedDataSource | null;
    loading: boolean;
    resolved: boolean;
}
/**
 * Resolves data-source metadata, enum options, and user names for record tools.
 * Pass `recordSlugs` to filter the returned fields to only those keys present
 * in the record payload (create/update flows). Omit to return all non-excluded
 * fields (view flow).
 */
export declare function useResolvedRecordFields(dataSourceId: string | null | undefined, recordSlugs?: string[] | null): UseResolvedRecordFieldsResult;
