import { StackClientInterface } from "@stackframe/stack-shared"; import { InternalSession } from "@stackframe/stack-shared/dist/sessions"; //#region src/lib/auth.d.ts declare function addNewOAuthProviderOrScope(iface: StackClientInterface, options: { provider: string; redirectUrl: string; errorRedirectUrl: string; providerScope?: string; }, session: InternalSession): Promise; declare function callOAuthCallback(iface: StackClientInterface, redirectUrl: string): Promise<({ status: "ok"; data: undefined; } & { status: "ok"; }) | ({ status: "ok"; data: { newUser: boolean; afterCallbackRedirectUrl?: string; accessToken: string; refreshToken: string; }; } & { status: "ok"; })>; //#endregion export { addNewOAuthProviderOrScope, callOAuthCallback }; //# sourceMappingURL=auth.d.ts.map