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