import type { Fetcher } from './api.types';
/**
* Creates a standard fetcher function for a given base URL.
* Use this helper for simple cases where you just need to specify the API base URL.
*
* @param baseUrl - Base URL for the API (e.g., '/api', 'https://api.example.com')
* @returns A fetcher function compatible with LookupField
*
* @example
* // Simple usage
* const fetcher = createFetcher('/api')
*
*
* @example
* // With authentication - wrap createFetcher or create custom fetcher
* const fetcher = createFetcher('/api', {
* headers: { Authorization: `Bearer ${token}` }
* })
*/
export declare function createFetcher(baseUrl: string, options?: {
headers?: Record;
}): Fetcher;
//# sourceMappingURL=api.d.ts.map