import type { InternalOptions } from "../types"; import type { RequestInternal, ResponseInternal } from ".."; import type { Cookie } from "../lib/cookie"; import type { ErrorType } from "./error"; declare type RenderPageParams = { query?: RequestInternal["query"]; cookies?: Cookie[]; } & Partial>; /** * Unless the user defines their [own pages](https://next-auth.js.org/configuration/pages), * we render a set of default ones, using Preact SSR. */ export default function renderPage(params: RenderPageParams): { signin(props?: any): ResponseInternal; signout(props?: any): ResponseInternal; verifyRequest(props?: any): ResponseInternal; error(props?: { error?: ErrorType; }): ResponseInternal; }; export {}; //# sourceMappingURL=index.d.ts.map