/** * Editor URL → page path mapping, shared by the server page handler and the * client-side editor. Pure and client-safe: the editor renders from a * persistent layout (so it survives route-param changes) and derives its page * path from usePathname() with these helpers, which must agree with the * server's parsing in pages-handler. */ export declare function parseEditorSegments(segments: string[]): string; export declare function editorPagePathFromUrlPath(pathname: string, basePath?: string): string;