import { type FlowsConfig } from './config.js'; /** This CLI's own version — sent on every request so the server can see skew too. */ export declare const CLI_VERSION: string; export declare class ApiError extends Error { status: number; body: unknown; constructor(status: number, body: unknown, message: string); } export declare function api(config: FlowsConfig, path: string, opts?: RequestInit): Promise;