import type { ClientOptions } from '@opensdks/runtime'; import { type SDKTypes } from '@opensdks/runtime'; import type leverTypes from '../lever.oas.types.js'; export { leverTypes }; export type LeverSDKTypes = SDKTypes & { /** * Lever API key becomes the username here with password always kept as * an empty string when used internally with API key alone. * * When used for external use-case, oauth with bearer token is used. */ auth?: { basic: { username: `${string}`; password?: ''; }; }; headers?: { authorization: `Bearer ${string}`; [k: string]: string | undefined; }; envName: 'sandbox' | 'production'; }>; export declare const leverSdkDef: { types: LeverSDKTypes; oasMeta: { readonly info: { readonly title: "Lever API"; readonly version: "1.0.0"; }; readonly servers: readonly [{ readonly url: "https://api.lever.co/v1"; readonly description: "production"; }, { readonly url: "https://api.sandbox.lever.co/v1"; readonly description: "sandbox"; }]; }; createClient(ctx: { createClient: (opts: ClientOptions) => import("@opensdks/runtime").OpenAPIClient; }, { envName, ...opts }: Omit & { /** * Lever API key becomes the username here with password always kept as * an empty string when used internally with API key alone. * * When used for external use-case, oauth with bearer token is used. */ auth?: { basic: { username: `${string}`; password?: ''; }; } | undefined; headers?: { [k: string]: string | undefined; authorization: `Bearer ${string}`; } | undefined; envName: 'sandbox' | 'production'; }): import("@opensdks/runtime").OpenAPIClient; }; export declare function initLeverSDK(opts: LeverSDKTypes['options']): import("@opensdks/runtime").OpenAPIClient & { def: { types: LeverSDKTypes; oasMeta: { readonly info: { readonly title: "Lever API"; readonly version: "1.0.0"; }; readonly servers: readonly [{ readonly url: "https://api.lever.co/v1"; readonly description: "production"; }, { readonly url: "https://api.sandbox.lever.co/v1"; readonly description: "sandbox"; }]; }; createClient(ctx: { createClient: (opts: ClientOptions) => import("@opensdks/runtime").OpenAPIClient; }, { envName, ...opts }: Omit & { /** * Lever API key becomes the username here with password always kept as * an empty string when used internally with API key alone. * * When used for external use-case, oauth with bearer token is used. */ auth?: { basic: { username: string; password?: "" | undefined; }; } | undefined; headers?: { [k: string]: string | undefined; authorization: `Bearer ${string}`; } | undefined; envName: "production" | "sandbox"; }): import("@opensdks/runtime").OpenAPIClient; }; }; export type LeverSDK = ReturnType; export default leverSdkDef; //# sourceMappingURL=index.d.ts.map