vike
Version:
The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.
9 lines (8 loc) • 467 B
TypeScript
export { getErrorPageId };
export { isErrorPageId };
export { isErrorPage };
import type { PageConfigRuntime } from '../types/PageConfig.js';
import type { PageFile } from './getPageFiles.js';
declare function getErrorPageId(pageFilesAll: PageFile[], pageConfigs: PageConfigRuntime[]): string | null;
declare function isErrorPageId(pageId: string, _isV1Design: false): boolean;
declare function isErrorPage(pageId: string, pageConfigs: PageConfigRuntime[]): boolean;