import type { ApiContext, Page, PageContent, PageHistoryEntry, PageSettings } from "./types.js"; export declare function createPage(ctx: ApiContext, wikiId: string, body: { title: string; categoryId?: string | null; }, subwikiId?: string): Promise; export declare function renamePage(ctx: ApiContext, wikiId: string, pageId: string, title: string): Promise; export declare function deletePage(ctx: ApiContext, wikiId: string, pageId: string): Promise; export declare function getPageContent(ctx: ApiContext, wikiId: string, pageId: string): Promise; export declare function updatePageContent(ctx: ApiContext, wikiId: string, pageId: string, content: string): Promise; export declare function getPageSettings(ctx: ApiContext, wikiId: string, pageId: string): Promise; export declare function updatePageSettings(ctx: ApiContext, wikiId: string, pageId: string, patch: PageSettings): Promise; export declare function setPageStatus(ctx: ApiContext, wikiId: string, pageId: string, status: "DRAFT" | "PUBLISHED"): Promise; export declare function getPageHistory(ctx: ApiContext, wikiId: string, pageId: string): Promise; export declare function restorePageHistory(ctx: ApiContext, wikiId: string, pageId: string, historyId: string): Promise;