import type { IOpenAiChatGptOAuthCredential, IOpenAiProviderAdapterOptions, ISmartAiProviderAccountSummary, ISmartAiProviderAdapter, ISmartAiProviderApiKeyCredential, ISmartAiProviderDescriptor, ISmartAiProviderLoginHandle, ISmartAiProviderLoginOptions, ISmartAiProviderModelListOptions, ISmartAiProviderOperationOptions, TOpenAiChatGptReadCredential, TSmartAiProviderAccountRateLimitsResult, TSmartAiProviderCredential, TSmartAiProviderModelListResult, TSmartAiProviderRefreshResult } from './smartai.providers.interfaces.js'; export declare class OpenAiProviderAdapter implements ISmartAiProviderAdapter { readonly descriptor: ISmartAiProviderDescriptor; private readonly fetchImplementation; private readonly originator; private readonly now; private readonly cursorKey; private readonly handles; private readonly operations; private readonly refreshes; private closed; private disposePromise?; constructor(optionsArg?: IOpenAiProviderAdapterOptions); private requireOpen; private authOptions; createApiKeyCredential(apiKeyArg: string): ISmartAiProviderApiKeyCredential; inspectCredential(credentialArg: TSmartAiProviderCredential): ISmartAiProviderAccountSummary; beginLogin(optionsArg: ISmartAiProviderLoginOptions): Promise; refreshCredential(credentialArg: IOpenAiChatGptOAuthCredential, optionsArg?: ISmartAiProviderOperationOptions): Promise; private performRefreshCredential; private fetchCatalog; private encodeCursor; private decodeCursor; listModels(credentialArg: TOpenAiChatGptReadCredential, optionsArg?: ISmartAiProviderModelListOptions): Promise; private fetchAccountRateLimits; getAccountRateLimits(credentialArg: TOpenAiChatGptReadCredential, optionsArg?: ISmartAiProviderOperationOptions): Promise; logoutCredential(credentialArg: IOpenAiChatGptOAuthCredential, optionsArg?: ISmartAiProviderOperationOptions): Promise; dispose(): Promise; }