NeahFront5/node_modules/next-auth/core/routes/session.d.ts
2025-04-10 11:30:00 +02:00

17 lines
558 B
TypeScript

import type { InternalOptions } from "../types";
import type { ResponseInternal } from "..";
import type { Session } from "../..";
import type { SessionStore } from "../lib/cookie";
interface SessionParams {
options: InternalOptions;
sessionStore: SessionStore;
isUpdate?: boolean;
newSession?: any;
}
/**
* Return a session object (without any private fields)
* for Single Page App clients
*/
export default function session(params: SessionParams): Promise<ResponseInternal<Session | {}>>;
export {};
//# sourceMappingURL=session.d.ts.map