import * as hono_utils_jwt_types from 'hono/utils/jwt/types'; import { Provider } from './provider.js'; import { Oauth2WrappedConfig, Oauth2Token } from './oauth2.js'; import { OidcWrappedConfig } from './oidc.js'; import 'hono'; import '../storage/storage.js'; interface FacebookConfig extends Oauth2WrappedConfig { } interface FacebookOidcConfig extends OidcWrappedConfig { } /** * Create a Facebook OAuth2 provider. * * @param config - The config for the provider. * @example * ```ts * FacebookProvider({ * clientID: "1234567890", * clientSecret: "0987654321" * }) * ``` */ declare function FacebookProvider(config: FacebookConfig): Provider<{ tokenset: Oauth2Token; clientID: string; }>; /** * Create a Facebook OIDC provider. * * This is useful if you just want to verify the user's email address. * * @param config - The config for the provider. * @example * ```ts * FacebookOidcProvider({ * clientID: "1234567890" * }) * ``` */ declare function FacebookOidcProvider(config: FacebookOidcConfig): Provider<{ id: hono_utils_jwt_types.JWTPayload; clientID: string; }>; export { type FacebookConfig, type FacebookOidcConfig, FacebookOidcProvider, FacebookProvider };