import type { OAuthAuthProvider } from "../../auth/OAuthAuthProvider.mjs"; import type { CortiClient as BaseCortiClient } from "../../Client.mjs"; export type AuthForBaseOptions = { clientId: string; clientSecret: string; } | { accessToken: string; refreshAccessToken?: OAuthAuthProvider.RefreshAccessTokenFunction; expiresIn?: number; refreshToken?: string; refreshExpiresIn?: number; clientId?: string; } | { clientId: string; username: string; password: string; } | { clientId: string; clientSecret: string; code: string; redirectUri: string; } | { clientId: string; code: string; redirectUri: string; codeVerifier?: string; } | { refreshAccessToken: OAuthAuthProvider.RefreshAccessTokenFunction; accessToken?: string; expiresIn?: number; refreshToken?: string; refreshExpiresIn?: number; clientId?: string; }; export type OptionsRest = Omit; export declare function authToBaseOptions(auth: AuthForBaseOptions | undefined, rest: OptionsRest): BaseCortiClient.Options;