import { Provider } from './provider.js'; import { Oauth2WrappedConfig, Oauth2Token } from './oauth2.js'; import 'hono'; import '../storage/storage.js'; interface TwitchConfig extends Oauth2WrappedConfig { } /** * Create a Twitch OAuth2 provider. * * @param config - The config for the provider. * @example * ```ts * TwitchProvider({ * clientID: "1234567890", * clientSecret: "0987654321" * }) * ``` */ declare function TwitchProvider(config: TwitchConfig): Provider<{ tokenset: Oauth2Token; clientID: string; }>; export { type TwitchConfig, TwitchProvider };