import type { DB } from "../index.js"; import type { FactSubmitInput, FactSearchInput, FactVerifyInput, FactDeleteInput, FactUpdateInput, FactVerifyByTagsInput, FactSubmitOutput, FactSearchOutput } from "../../schemas/facts.js"; export declare function submitFacts(db: DB, input: FactSubmitInput): Promise; export declare function searchFacts(db: DB, input: FactSearchInput): Promise; export declare function verifyFacts(db: DB, input: FactVerifyInput): Promise; export declare function deleteFacts(db: DB, input: FactDeleteInput): Promise; export declare function restoreFacts(db: DB, ids: number[]): Promise<{ restored: number; }>; export interface FactUpdateResult { success: boolean; id: number; content: string; tagsAdded?: string[]; tagsRemoved?: string[]; } export declare function updateFact(db: DB, input: FactUpdateInput): Promise; export interface VerifyByTagsResult { verified: number; factIds: number[]; } export declare function verifyFactsByTags(db: DB, input: FactVerifyByTagsInput): Promise; //# sourceMappingURL=facts.d.ts.map