import { type Environment } from './config.js'; export type ApiTarget = 'admin' | 'document-rag' | 'gateway' | 'ingest' | 'query' | 'theopolis'; interface RequestOptions { body?: unknown; method?: 'DELETE' | 'GET' | 'PATCH' | 'POST' | 'PUT'; query?: Record; timeoutMs?: number; } /** * Make an authenticated API request to a Formant service. */ export declare function apiRequest(env: Environment, target: ApiTarget, path: string, options?: RequestOptions): Promise; export {};