export interface ContentTemplate {
    id: string;
    name: string;
    collection: string;
    templateData: Record<string, unknown>;
    createdById: string;
    createdAt: Date;
    updatedAt: Date;
}
/** Save a document as a reusable content template. */
export declare function saveAsTemplate(name: string, collection: string, data: Record<string, unknown>, userId: string, _db: unknown): Promise<ContentTemplate>;
/** Create a new document from a template. */
export declare function createFromTemplate(templateId: string, overrides: Record<string, unknown>, userId: string, _db: unknown): Promise<Record<string, unknown>>;
/** List available templates for a collection. */
export declare function listTemplates(collection: string, _db: unknown): Promise<ContentTemplate[]>;
//# sourceMappingURL=index.d.ts.map