import type { CommentablesTable } from '@stacksjs/orm'; /** * Update a comment by ID * * @param id The ID of the comment to update * @param data The updated comment data * @returns The updated comment record */ export declare function update(id: number, data: CommentUpdate): Promise; declare interface CommentUpdate { title?: string body?: string status?: string approved_at?: number | null rejected_at?: number | null commentables_id?: number commentables_type?: string user_id?: number | null updated_at?: string | null }