import type { paths } from "./openapi_types.js";
export interface ApiClientOptions {
    baseUrl?: string;
    token?: string;
    useOfflineFallback?: boolean;
    /**
     * When true, sign outbound requests with the CLI-side AAuth keypair at
     * `~/.neotoma/aauth/`. Silently falls back to unsigned `fetch` when no
     * keypair is configured so CLI callers that have not run
     * `neotoma auth keygen` are unaffected. Defaults to true in CLI
     * contexts and false in test / offline contexts.
     */
    signWithCliAAuth?: boolean;
}
export type NeotomaApiClient = ReturnType<typeof createApiClient>;
export declare function createApiClient(options?: ApiClientOptions): {
    GET: import("openapi-fetch").ClientMethod<paths, "get", `${string}/${string}`>;
    POST: import("openapi-fetch").ClientMethod<paths, "post", `${string}/${string}`>;
    PUT: import("openapi-fetch").ClientMethod<paths, "put", `${string}/${string}`>;
    DELETE: import("openapi-fetch").ClientMethod<paths, "delete", `${string}/${string}`>;
    request: import("openapi-fetch").ClientRequestMethod<paths, `${string}/${string}`>;
    OPTIONS: import("openapi-fetch").ClientMethod<paths, "options", `${string}/${string}`>;
    HEAD: import("openapi-fetch").ClientMethod<paths, "head", `${string}/${string}`>;
    PATCH: import("openapi-fetch").ClientMethod<paths, "patch", `${string}/${string}`>;
    TRACE: import("openapi-fetch").ClientMethod<paths, "trace", `${string}/${string}`>;
    use(...middleware: import("openapi-fetch").Middleware[]): void;
    eject(...middleware: import("openapi-fetch").Middleware[]): void;
};
//# sourceMappingURL=api_client.d.ts.map