import { z } from "zod"; export declare const factSubmitInput: z.ZodObject<{ facts: z.ZodArray; source: z.ZodOptional; sourceType: z.ZodOptional>; verified: z.ZodOptional>; }, "strip", z.ZodTypeAny, { tags: string[]; content: string; source?: string | undefined; sourceType?: "documentation" | "user" | "code" | "inference" | undefined; verified?: boolean | undefined; }, { tags: string[]; content: string; source?: string | undefined; sourceType?: "documentation" | "user" | "code" | "inference" | undefined; verified?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { facts: { tags: string[]; content: string; source?: string | undefined; sourceType?: "documentation" | "user" | "code" | "inference" | undefined; verified?: boolean | undefined; }[]; }, { facts: { tags: string[]; content: string; source?: string | undefined; sourceType?: "documentation" | "user" | "code" | "inference" | undefined; verified?: boolean | undefined; }[]; }>; export declare const factSearchInput: z.ZodObject<{ tags: z.ZodOptional>; query: z.ZodOptional; limit: z.ZodOptional>; cursor: z.ZodOptional; verifiedOnly: z.ZodOptional; sourceType: z.ZodOptional>; orderBy: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { cursor?: string | undefined; tags?: string[] | undefined; sourceType?: "documentation" | "user" | "code" | "inference" | undefined; query?: string | undefined; limit?: number | undefined; orderBy?: "usage" | "recent" | "oldest" | undefined; verifiedOnly?: boolean | undefined; }, { cursor?: string | undefined; tags?: string[] | undefined; sourceType?: "documentation" | "user" | "code" | "inference" | undefined; query?: string | undefined; limit?: number | undefined; orderBy?: "usage" | "recent" | "oldest" | undefined; verifiedOnly?: boolean | undefined; }>; export declare const factVerifyInput: z.ZodObject<{ ids: z.ZodArray; }, "strip", z.ZodTypeAny, { ids: number[]; }, { ids: number[]; }>; export declare const factDeleteInput: z.ZodObject<{ ids: z.ZodOptional>; tags: z.ZodOptional>; olderThan: z.ZodOptional; unverifiedOnly: z.ZodOptional; soft: z.ZodOptional>; }, "strip", z.ZodTypeAny, { tags?: string[] | undefined; ids?: number[] | undefined; olderThan?: string | undefined; unverifiedOnly?: boolean | undefined; soft?: boolean | undefined; }, { tags?: string[] | undefined; ids?: number[] | undefined; olderThan?: string | undefined; unverifiedOnly?: boolean | undefined; soft?: boolean | undefined; }>; export declare const factRestoreInput: z.ZodObject<{ ids: z.ZodArray; }, "strip", z.ZodTypeAny, { ids: number[]; }, { ids: number[]; }>; export declare const factRestoreOutput: z.ZodObject<{ restored: z.ZodNumber; }, "strip", z.ZodTypeAny, { restored: number; }, { restored: number; }>; export declare const factVerifyOutput: z.ZodObject<{ success: z.ZodLiteral; verifiedIds: z.ZodArray; }, "strip", z.ZodTypeAny, { success: true; verifiedIds: number[]; }, { success: true; verifiedIds: number[]; }>; export declare const factDeleteOutput: z.ZodObject<{ success: z.ZodLiteral; deleted: z.ZodNumber; }, "strip", z.ZodTypeAny, { success: true; deleted: number; }, { success: true; deleted: number; }>; export declare const factUpdateOutput: z.ZodObject<{ success: z.ZodBoolean; id: z.ZodNumber; content: z.ZodString; tagsAdded: z.ZodOptional>; tagsRemoved: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: number; content: string; success: boolean; tagsAdded?: string[] | undefined; tagsRemoved?: string[] | undefined; }, { id: number; content: string; success: boolean; tagsAdded?: string[] | undefined; tagsRemoved?: string[] | undefined; }>; export declare const factVerifyByTagsOutput: z.ZodObject<{ verified: z.ZodNumber; factIds: z.ZodArray; }, "strip", z.ZodTypeAny, { verified: number; factIds: number[]; }, { verified: number; factIds: number[]; }>; export declare const factUpdateInput: z.ZodEffects; contentMatch: z.ZodOptional; updates: z.ZodObject<{ content: z.ZodOptional; source: z.ZodOptional; sourceType: z.ZodOptional>; verified: z.ZodOptional; tags: z.ZodOptional>; appendTags: z.ZodOptional>; removeTags: z.ZodOptional>; }, "strip", z.ZodTypeAny, { tags?: string[] | undefined; content?: string | undefined; source?: string | undefined; sourceType?: "documentation" | "user" | "code" | "inference" | undefined; verified?: boolean | undefined; appendTags?: string[] | undefined; removeTags?: string[] | undefined; }, { tags?: string[] | undefined; content?: string | undefined; source?: string | undefined; sourceType?: "documentation" | "user" | "code" | "inference" | undefined; verified?: boolean | undefined; appendTags?: string[] | undefined; removeTags?: string[] | undefined; }>; }, "strip", z.ZodTypeAny, { updates: { tags?: string[] | undefined; content?: string | undefined; source?: string | undefined; sourceType?: "documentation" | "user" | "code" | "inference" | undefined; verified?: boolean | undefined; appendTags?: string[] | undefined; removeTags?: string[] | undefined; }; id?: number | undefined; contentMatch?: string | undefined; }, { updates: { tags?: string[] | undefined; content?: string | undefined; source?: string | undefined; sourceType?: "documentation" | "user" | "code" | "inference" | undefined; verified?: boolean | undefined; appendTags?: string[] | undefined; removeTags?: string[] | undefined; }; id?: number | undefined; contentMatch?: string | undefined; }>, { updates: { tags?: string[] | undefined; content?: string | undefined; source?: string | undefined; sourceType?: "documentation" | "user" | "code" | "inference" | undefined; verified?: boolean | undefined; appendTags?: string[] | undefined; removeTags?: string[] | undefined; }; id?: number | undefined; contentMatch?: string | undefined; }, { updates: { tags?: string[] | undefined; content?: string | undefined; source?: string | undefined; sourceType?: "documentation" | "user" | "code" | "inference" | undefined; verified?: boolean | undefined; appendTags?: string[] | undefined; removeTags?: string[] | undefined; }; id?: number | undefined; contentMatch?: string | undefined; }>; export declare const factVerifyByTagsInput: z.ZodObject<{ tags: z.ZodArray; requireAll: z.ZodDefault>; }, "strip", z.ZodTypeAny, { tags: string[]; requireAll: boolean; }, { tags: string[]; requireAll?: boolean | undefined; }>; export declare const factSubmitOutput: z.ZodObject<{ created: z.ZodNumber; updated: z.ZodNumber; facts: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { facts: { id: number; content: string; }[]; created: number; updated: number; }, { facts: { id: number; content: string; }[]; created: number; updated: number; }>; export declare const factSearchOutput: z.ZodObject<{ facts: z.ZodArray; verified: z.ZodBoolean; sourceType: z.ZodNullable; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { updatedAt: string; tags: string[]; id: number; content: string; sourceType: string | null; verified: boolean; }, { updatedAt: string; tags: string[]; id: number; content: string; sourceType: string | null; verified: boolean; }>, "many">; nextCursor: z.ZodOptional; suggestedTags: z.ZodOptional>; }, "strip", z.ZodTypeAny, { facts: { updatedAt: string; tags: string[]; id: number; content: string; sourceType: string | null; verified: boolean; }[]; nextCursor?: string | undefined; suggestedTags?: string[] | undefined; }, { facts: { updatedAt: string; tags: string[]; id: number; content: string; sourceType: string | null; verified: boolean; }[]; nextCursor?: string | undefined; suggestedTags?: string[] | undefined; }>; export type FactSubmitInput = z.infer; export type FactSearchInput = z.infer; export type FactVerifyInput = z.infer; export type FactDeleteInput = z.infer; export type FactUpdateInput = z.infer; export type FactVerifyByTagsInput = z.infer; export type FactRestoreInput = z.infer; export type FactSubmitOutput = z.infer; export type FactSearchOutput = z.infer; export type FactRestoreOutput = z.infer; export type FactVerifyOutput = z.infer; export type FactDeleteOutput = z.infer; export type FactUpdateOutput = z.infer; export type FactVerifyByTagsOutput = z.infer; //# sourceMappingURL=facts.d.ts.map