import ThirdpartyWebJS from "supertokens-web-js/recipe/thirdparty"; import AuthRecipe from "../authRecipe"; import type { GetRedirectionURLContext, NormalisedConfig, PreAndPostAPIHookAction, OnHandleEventContext, UserInput, } from "./types"; import type { RecipeInitResult, NormalisedConfigWithAppInfoAndRecipeID, WebJSRecipeInterface } from "../../types"; export default class ThirdParty extends AuthRecipe< GetRedirectionURLContext, never, OnHandleEventContext, NormalisedConfig > { readonly webJSRecipe: WebJSRecipeInterface; static instance?: ThirdParty; static RECIPE_ID: "thirdparty"; recipeID: "thirdparty"; firstFactorIds: "thirdparty"[]; getFirstFactorsForAuthPage(): string[]; constructor( config: NormalisedConfigWithAppInfoAndRecipeID, webJSRecipe?: WebJSRecipeInterface ); getDefaultRedirectionURL: (context: GetRedirectionURLContext) => Promise; static init( config?: UserInput ): RecipeInitResult; static getInstanceOrThrow(): ThirdParty; static reset(): void; }