import { Agent as HttpsAgent } from 'undici'; import { ClientOptions } from 'openapi-fetch'; import { AuthOption, BasicAuthOption } from './types/Auth.js'; import { Proxy } from './types/Proxy.js'; import { ClientCertAuth } from './types/CertAuth.js'; export type KintoneClientOptions = ClientOptions & { auth?: AuthOption; basicAuth?: BasicAuthOption; userAgent?: string; socketTimeout?: number; } & ({ proxy?: Proxy; httpsAgent?: never; clientCertAuth?: never; } | { proxy?: never; httpsAgent?: HttpsAgent; clientCertAuth?: never; } | { proxy?: never; httpsAgent?: never; clientCertAuth?: ClientCertAuth; }); export declare const buildNativeClientOptions: (_clientOptions: KintoneClientOptions) => ClientOptions;