UNPKG

mastra

Version:
18 lines 647 B
export interface ApiGlobalOptions { url?: string; header: string[]; timeout?: string; pretty: boolean; schema?: boolean; serverApiPrefix?: string; } export interface ResolvedTarget { baseUrl: string; headers: Record<string, string>; timeoutMs: number; fallbackHeaders?: Record<string, string>; /** API route prefix of the target server (e.g. `/api/mastra-studio`). Undefined when the default `/api` applies. */ apiPrefix?: string; } export declare function resolveTarget(options: ApiGlobalOptions, fetchFn?: typeof fetch, path?: string): Promise<ResolvedTarget>; //# sourceMappingURL=target.d.ts.map