import { OAuth2Tokens } from 'arctic'; import { Provider } from './provider.js'; import 'hono'; import '../storage/storage.js'; interface ArcticProviderOptions { scopes: string[]; clientID: string; clientSecret: string; query?: Record; } declare function ArcticProvider(provider: new (clientID: string, clientSecret: string, callback: string) => { createAuthorizationURL(state: string, scopes: string[]): URL; validateAuthorizationCode(code: string): Promise; refreshAccessToken(refreshToken: string): Promise; }, config: ArcticProviderOptions): Provider<{ tokenset: OAuth2Tokens; }>; export { ArcticProvider, type ArcticProviderOptions };