import type { BasePayload } from 'payload'; type ResolveNotFoundPageArgs = { locale: string; /** Client's Pages collection slug. Defaults to 'pages'. */ pagesSlug?: string; payload: BasePayload; /** SiteSettings global slug. Defaults to 'site-settings'. */ settingsSlug?: string; }; /** * Returns the page the editor assigned as **404 (Not Found)** in System Pages, * fully populated (depth 2, same shape as resolveRoute's pages), or null when * the role is unassigned. * * Used by the project's `not-found.tsx`. The editor decides what a 404 looks * like: a dedicated "Not found" page, or simply the homepage. Null means * "render the project's built-in fallback view". * * Never throws — a missing DB (container build prerendering not-found) or a * deleted page just yields null, so the 404 view can't crash the build. */ export declare function resolveNotFoundPage({ locale, pagesSlug, payload, settingsSlug, }: ResolveNotFoundPageArgs): Promise>; export {};