import type { CanvasPage, CanvasPageDB, CanvasPeer, CanvasPeers } from "../../../../shared/types/Canvas";
export declare function canvasPageByUrl(slug: string): Promise<CanvasPageDB | null>;
export declare function allCanvasPages(): Promise<CanvasPageDB[]>;
export declare function canvasPageCreate(canvasPageInput: CanvasPage): Promise<CanvasPageDB>;
export declare function canvasPageEdit(id: string, canvasPageInput: CanvasPage): Promise<CanvasPageDB>;
export declare function canvasPageById(id: string): Promise<CanvasPageDB | null>;
export declare function canvasOpenPeers(id: string, peerInput: CanvasPeer): Promise<CanvasPeers>;
export declare function canvasPollPeers(id: string): Promise<CanvasPeers | null>;
export declare function canvasClosePeers(id: string): Promise<CanvasPage>;
