import type { PageBlock } from '../blocks/types'; /** Trim a trailing slash (except the root) so `/about/` and `/about` are one page. */ export declare function normalizePath(path: string): string; /** * The published page at `path` on a site, or null. Only `status='published'` * rows with a past `published_at` serve - a draft or scheduled page is * invisible here no matter what its path says, which is the entire reason * public reads do not ride the pages API. */ export declare function resolvePublishedPage(siteId: number, rawPath: string): Promise; export declare interface PublishedPage { id: number siteId: number title: string path: string template: string metaDescription: string | null blocks: PageBlock[] publishedAt: string | null }