import type { Config } from '../config/schema.js';
export type GatewayHttpClientOptions = {
    baseUrl: string;
    token?: string;
};
export declare class GatewayHttpClient {
    private readonly opts;
    constructor(opts: GatewayHttpClientOptions);
    private headers;
    getJson<T>(path: string): Promise<T>;
    postJson<T>(path: string, data: unknown): Promise<T>;
}
export declare function resolveGatewayHttpBaseUrl(config: Config, override?: string): string;
export declare function createGatewayHttpClientFromConfig(params: {
    config?: Config;
    gatewayUrl?: string;
    gatewayToken?: string;
}): GatewayHttpClient;
