import type { RowOf } from '@stacksjs/database/runtime'; /** * Fetch a page by ID */ export declare function fetchById(id: number): Promise; /** * Fetch all pages */ export declare function fetchAll(): Promise; /** * Fetch pages by template */ export declare function fetchByTemplate(template: string): Promise; /** * Fetch pages by author */ export declare function fetchByAuthor(authorId: number): Promise; /** * Fetch pages with minimum views */ export declare function fetchByMinViews(minViews: number): Promise; /** * Fetch pages with minimum conversions */ export declare function fetchByMinConversions(minConversions: number): Promise; /** * Fetch pages published after a specific date */ export declare function fetchPublishedAfter(timestamp: number): Promise; declare type PageJsonResponse = RowOf<'pages'>;