import type { AuthenticatedSession, AuthParameters } from '../../types/authenticate'; import type { OpenIdAuthContext } from '../../types/context'; import type { AuthenticationGitHubRedirect } from './types/authenticate'; export declare const authenticateGitHubWithRedirect: ({ auth, context, redirect: { finalizeUrl } }: { auth: AuthParameters; context: Omit; redirect: AuthenticationGitHubRedirect; }) => Promise>;