import type { CommentablesTable } from '@stacksjs/orm'; export declare function createComment(data: CreateCommentInput): Promise; export declare function updateComment(id: number, input: UpdateCommentInput): Promise; export declare function approveComment(id: number): Promise; export declare function rejectComment(id: number): Promise; export declare function deleteComment(id: number): Promise; /** * Create a new comment * * @param data The comment data to store * @returns The newly created comment record */ export declare function store(data: CommentStore): Promise; export declare interface CreateCommentInput { title: string body: string commentables_id: number commentables_type: string } export declare interface UpdateCommentInput { title?: string body?: string status?: string } declare interface CommentStore { title: string body: string status: string user_id: number commentables_id: number commentables_type: string is_active?: boolean | null approved_at?: number | null rejected_at?: number | null }