import type { InternalOptions, RequestInternal, ResponseInternal, InternalProvider, PublicProvider } from "../../types.js"; import type { Cookie } from "../utils/cookie.js"; type RenderPageParams = { query?: RequestInternal["query"]; cookies?: Cookie[]; } & Partial>; /** * Unless the user defines their [own pages](https://authjs.dev/reference/core#pages), * we render a set of default ones, using Preact SSR. */ export default function renderPage(params: RenderPageParams): { csrf(skip: boolean, options: InternalOptions, cookies: Cookie[]): { headers: { "Content-Type": string; }; body: { csrfToken: string | undefined; }; cookies: Cookie[]; status?: undefined; } | { status: number; cookies: Cookie[]; headers?: undefined; body?: undefined; }; providers(providers: InternalProvider[]): { headers: { "Content-Type": string; }; body: Record; }; signin(providerId?: string, error?: any): ResponseInternal; signout(): ResponseInternal; verifyRequest(props?: any): ResponseInternal; error(error?: string): ResponseInternal; }; export {}; //# sourceMappingURL=index.d.ts.map