/**
 * Gateway API client — CLI-side HTTP client for gateway REST routes.
 */
import type { GatewayClientOptions } from './gateway-client-options.js';
export type { GatewayClientOptions } from './gateway-client-options.js';
export { addGatewayClientOptions, parseGatewayClientOptions, } from './gateway-client-options.js';
export interface GatewayCallResult<T = unknown> {
    ok: boolean;
    status: number;
    data?: T;
    error?: string;
    durationMs: number;
}
export declare function resolveGatewayUrl(opts?: {
    url?: string;
    configPath?: string;
}): string;
export declare function resolveGatewayToken(opts?: {
    token?: string;
    configPath?: string;
}): string | undefined;
export declare function callGatewayApi<T = unknown>(method: 'GET' | 'POST' | 'PATCH' | 'DELETE', path: string, opts?: GatewayClientOptions, body?: unknown): Promise<GatewayCallResult<T>>;
