import type { RequestGoogleJwtWithCredentials, RequestGoogleJwtWithRedirect } from './types/openid'; /** * Initiates an OpenID Connect authorization request by redirecting the browser. * * References: * - OAuth 2.0 (Google): https://developers.google.com/identity/protocols/oauth2/javascript-implicit-flow * - OpenID Connect: https://developers.google.com/identity/openid-connect/openid-connect */ export declare const requestGoogleJwtWithRedirect: ({ authUrl, clientId, nonce, loginHint, authScopes, state, redirectUrl }: RequestGoogleJwtWithRedirect) => void; /** * References: * - identity spec: https://www.w3.org/TR/fedcm/#browser-api-credential-request-options * - https://privacysandbox.google.com/cookies/fedcm/implement/identity-provider * - https://privacysandbox.google.com/cookies/fedcm/why */ export declare const requestGoogleJwtWithCredentials: ({ configUrl: configURL, clientId, nonce, loginHint, domainHint }: RequestGoogleJwtWithCredentials) => Promise<{ jwt: string; }>;