Files
lcbp3/frontend/.ignored_node_modules/next-auth/lib/actions.d.ts
2025-11-27 17:08:49 +07:00

13 lines
814 B
TypeScript

import type { NextAuthConfig } from "./index.js";
import type { NextAuthResult, Session } from "../index.js";
type SignInParams = Parameters<NextAuthResult["signIn"]>;
export declare function signIn(provider: SignInParams[0], options: FormData | ({
redirectTo?: string | undefined;
redirect?: boolean | undefined;
} & Record<string, any>) | undefined, authorizationParams: SignInParams[2], config: NextAuthConfig): Promise<any>;
type SignOutParams = Parameters<NextAuthResult["signOut"]>;
export declare function signOut(options: SignOutParams[0], config: NextAuthConfig): Promise<any>;
type UpdateParams = Parameters<NextAuthResult["unstable_update"]>;
export declare function update(data: UpdateParams[0], config: NextAuthConfig): Promise<Session | null>;
export {};
//# sourceMappingURL=actions.d.ts.map