import { z } from "zod"; export declare const noteTools: { addNotes: { description: string; schema: z.ZodObject<{ notes: z.ZodArray; tags: z.ZodOptional>; options: z.ZodOptional; }, "strip", z.ZodTypeAny, { allowDuplicate?: boolean | undefined; }, { allowDuplicate?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { deckName: string; modelName: string; fields: Record; options?: { allowDuplicate?: boolean | undefined; } | undefined; tags?: string[] | undefined; }, { deckName: string; modelName: string; fields: Record; options?: { allowDuplicate?: boolean | undefined; } | undefined; tags?: string[] | undefined; }>, z.ZodString]>, "many">; }, "strip", z.ZodTypeAny, { notes: (string | { deckName: string; modelName: string; fields: Record; options?: { allowDuplicate?: boolean | undefined; } | undefined; tags?: string[] | undefined; })[]; }, { notes: (string | { deckName: string; modelName: string; fields: Record; options?: { allowDuplicate?: boolean | undefined; } | undefined; tags?: string[] | undefined; })[]; }>; handler: ({ notes }: { notes: Array; }) => Promise<(number | null)[]>; }; addNote: { description: string; schema: z.ZodObject<{ deckName: z.ZodString; modelName: z.ZodString; fields: z.ZodRecord; tags: z.ZodOptional, z.ZodString]>>; allowDuplicate: z.ZodOptional; }, "strip", z.ZodTypeAny, { deckName: string; modelName: string; fields: Record; allowDuplicate?: boolean | undefined; tags?: string | string[] | undefined; }, { deckName: string; modelName: string; fields: Record; allowDuplicate?: boolean | undefined; tags?: string | string[] | undefined; }>; handler: (args: { deckName: string; modelName: string; fields: Record; tags?: string | string[]; allowDuplicate?: boolean; }) => Promise; }; findNotes: { description: string; schema: z.ZodObject<{ query: z.ZodString; offset: z.ZodDefault>; limit: z.ZodDefault>; }, "strip", z.ZodTypeAny, { query: string; offset: number; limit: number; }, { query: string; offset?: number | undefined; limit?: number | undefined; }>; handler: ({ query, offset, limit }: { query: string; offset?: number; limit?: number; }) => Promise<{ notes: number[]; pagination: { offset: number; limit: number; total: number; hasMore: boolean; nextOffset: number | null; }; }>; }; updateNote: { description: string; schema: z.ZodObject<{ id: z.ZodUnion<[z.ZodNumber, z.ZodString]>; fields: z.ZodOptional>; tags: z.ZodOptional, z.ZodString]>>; }, "strip", z.ZodTypeAny, { id: string | number; fields?: Record | undefined; tags?: string | string[] | undefined; }, { id: string | number; fields?: Record | undefined; tags?: string | string[] | undefined; }>; handler: ({ id, fields, tags, }: { id: number | string; fields?: Record; tags?: string | string[]; }) => Promise; }; deleteNotes: { description: string; schema: z.ZodObject<{ notes: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { notes: (string | number)[]; }, { notes: (string | number)[]; }>; handler: ({ notes }: { notes: Array; }) => Promise; }; notesInfo: { description: string; schema: z.ZodObject<{ notes: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { notes: (string | number)[]; }, { notes: (string | number)[]; }>; handler: ({ notes }: { notes: Array; }) => Promise<{ noteId: number; modelName: string; tags: string[]; fields: Record; cards: number[]; }[] | { notes: { noteId: number; modelName: string; tags: string[]; fields: Record; cards: number[]; }[]; metadata: { total: number; batches: number; batchSize: number; }; }>; }; getTags: { description: string; schema: z.ZodObject<{ offset: z.ZodDefault>; limit: z.ZodDefault>; }, "strip", z.ZodTypeAny, { offset: number; limit: number; }, { offset?: number | undefined; limit?: number | undefined; }>; handler: ({ offset, limit }: { offset?: number; limit?: number; }) => Promise<{ tags: string[]; pagination: { offset: number; limit: number; total: number; hasMore: boolean; nextOffset: number | null; }; }>; }; addTags: { description: string; schema: z.ZodObject<{ notes: z.ZodArray, "many">; tags: z.ZodString; }, "strip", z.ZodTypeAny, { tags: string; notes: (string | number)[]; }, { tags: string; notes: (string | number)[]; }>; handler: ({ notes, tags }: { notes: Array; tags: string; }) => Promise; }; removeTags: { description: string; schema: z.ZodObject<{ notes: z.ZodArray, "many">; tags: z.ZodString; }, "strip", z.ZodTypeAny, { tags: string; notes: (string | number)[]; }, { tags: string; notes: (string | number)[]; }>; handler: ({ notes, tags }: { notes: Array; tags: string; }) => Promise; }; updateNoteFields: { description: string; schema: z.ZodObject<{ note: z.ZodObject<{ id: z.ZodUnion<[z.ZodNumber, z.ZodString]>; fields: z.ZodRecord; }, "strip", z.ZodTypeAny, { fields: Record; id: string | number; }, { fields: Record; id: string | number; }>; }, "strip", z.ZodTypeAny, { note: { fields: Record; id: string | number; }; }, { note: { fields: Record; id: string | number; }; }>; handler: ({ note }: { note: { id: number | string; fields: Record; }; }) => Promise; }; getNoteTags: { description: string; schema: z.ZodObject<{ note: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "strip", z.ZodTypeAny, { note: string | number; }, { note: string | number; }>; handler: ({ note }: { note: number | string; }) => Promise; }; clearUnusedTags: { description: string; schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; handler: () => Promise; }; replaceTags: { description: string; schema: z.ZodObject<{ notes: z.ZodArray, "many">; tagToReplace: z.ZodString; replaceWithTag: z.ZodString; }, "strip", z.ZodTypeAny, { notes: (string | number)[]; tagToReplace: string; replaceWithTag: string; }, { notes: (string | number)[]; tagToReplace: string; replaceWithTag: string; }>; handler: ({ notes, tagToReplace, replaceWithTag, }: { notes: Array; tagToReplace: string; replaceWithTag: string; }) => Promise; }; replaceTagsInAllNotes: { description: string; schema: z.ZodObject<{ tagToReplace: z.ZodString; replaceWithTag: z.ZodString; }, "strip", z.ZodTypeAny, { tagToReplace: string; replaceWithTag: string; }, { tagToReplace: string; replaceWithTag: string; }>; handler: ({ tagToReplace, replaceWithTag }: { tagToReplace: string; replaceWithTag: string; }) => Promise; }; removeEmptyNotes: { description: string; schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; handler: () => Promise; }; notesModTime: { description: string; schema: z.ZodObject<{ notes: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { notes: (string | number)[]; }, { notes: (string | number)[]; }>; handler: ({ notes }: { notes: Array; }) => Promise; }; }; //# sourceMappingURL=notes.d.ts.map