export declare const DEFAULT_WORKFLOWS_HOST = "https://api.sapiom.ai"; export interface ClientOptions { host?: string; apiKey: string; } export interface GatewayErrorBody { message?: string | string[]; } export declare class GatewayClient { private readonly host; private readonly base; private readonly apiKey; constructor(opts: ClientOptions); request(method: string, path: string, body?: unknown): Promise; get(path: string): Promise; post(path: string, body?: unknown): Promise; postAtHostRoot(path: string, body?: unknown): Promise; private send; openStream(path: string, opts?: { signal?: AbortSignal; lastEventId?: string; }): Promise; } export declare function createClient(opts: ClientOptions): GatewayClient;