import type { Script, Stylesheet } from "../../page.js"; export declare const ErrorMessage: { readonly InvalidArguments: "Arguments must be an object"; readonly InvalidId: "id must be a string"; readonly InvalidBody: "body must be a string"; readonly InvalidScripts: "scripts must be an array"; readonly InvalidScript: "each script must have either src or content property"; readonly InvalidScriptSrc: "script src must be a string"; readonly InvalidScriptContent: "script content must be a string"; readonly InvalidStylesheets: "stylesheets must be an array"; readonly InvalidStylesheet: "each stylesheet must have href property"; readonly InvalidStylesheetHref: "stylesheet href must be a string"; }; export type ErrorMessage = (typeof ErrorMessage)[keyof typeof ErrorMessage]; export interface CreatePageArgs { body: string; scripts?: Script[]; stylesheets?: Stylesheet[]; } export interface UpdatePageArgs { id: string; body: string; } export interface DestroyPageArgs { id: string; } export interface AddScriptsArgs { id: string; scripts: Script[]; } export interface AddStylesheetsArgs { id: string; stylesheets: Stylesheet[]; } export declare function assertCreatePageArgs(args: unknown): asserts args is CreatePageArgs; export declare function assertUpdatePageArgs(args: unknown): asserts args is UpdatePageArgs; export declare function assertDestroyPageArgs(args: unknown): asserts args is DestroyPageArgs; export declare function assertAddScriptsArgs(args: unknown): asserts args is AddScriptsArgs; export declare function assertAddStylesheetsArgs(args: unknown): asserts args is AddStylesheetsArgs; //# sourceMappingURL=validator.d.ts.map