import { z } from "zod"; import { GitHubClient } from "../github/client.js"; import type { HackMdClient } from "../hackmd/client.js"; import type { GitHubSyncStateStore } from "../github/sync-state.js"; export declare const profileSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>; export declare const listNotesSchema: z.ZodObject<{ teamPath: z.ZodOptional; }, "strict", z.ZodTypeAny, { teamPath?: string | undefined; }, { teamPath?: string | undefined; }>; export declare const listFoldersSchema: z.ZodObject<{ teamPath: z.ZodOptional; }, "strict", z.ZodTypeAny, { teamPath?: string | undefined; }, { teamPath?: string | undefined; }>; export declare const getNoteSchema: z.ZodObject<{ teamPath: z.ZodOptional; noteId: z.ZodString; }, "strict", z.ZodTypeAny, { noteId: string; teamPath?: string | undefined; }, { noteId: string; teamPath?: string | undefined; }>; export declare const getFolderSchema: z.ZodObject<{ teamPath: z.ZodOptional; folderId: z.ZodString; }, "strict", z.ZodTypeAny, { folderId: string; teamPath?: string | undefined; }, { folderId: string; teamPath?: string | undefined; }>; export declare const createNoteSchema: z.ZodObject<{ teamPath: z.ZodOptional; title: z.ZodOptional; content: z.ZodString; tags: z.ZodOptional>; description: z.ZodOptional; readPermission: z.ZodOptional>; writePermission: z.ZodOptional>; commentPermission: z.ZodOptional>; suggestEditPermission: z.ZodOptional>; parentFolderId: z.ZodOptional; permalink: z.ZodOptional; }, "strict", z.ZodTypeAny, { content: string; teamPath?: string | undefined; title?: string | undefined; tags?: string[] | undefined; description?: string | undefined; readPermission?: "owner" | "signed_in" | "guest" | undefined; writePermission?: "owner" | "signed_in" | "guest" | undefined; commentPermission?: "disabled" | "forbidden" | "owners" | "signed_in_users" | "everyone" | undefined; suggestEditPermission?: "disabled" | "forbidden" | "owners" | "signed_in_users" | undefined; parentFolderId?: string | undefined; permalink?: string | undefined; }, { content: string; teamPath?: string | undefined; title?: string | undefined; tags?: string[] | undefined; description?: string | undefined; readPermission?: "owner" | "signed_in" | "guest" | undefined; writePermission?: "owner" | "signed_in" | "guest" | undefined; commentPermission?: "disabled" | "forbidden" | "owners" | "signed_in_users" | "everyone" | undefined; suggestEditPermission?: "disabled" | "forbidden" | "owners" | "signed_in_users" | undefined; parentFolderId?: string | undefined; permalink?: string | undefined; }>; export declare const updateNoteSchema: z.ZodEffects; noteId: z.ZodString; title: z.ZodOptional; content: z.ZodOptional; tags: z.ZodOptional>; description: z.ZodOptional; readPermission: z.ZodOptional>; writePermission: z.ZodOptional>; parentFolderId: z.ZodOptional; permalink: z.ZodOptional; }, "strict", z.ZodTypeAny, { noteId: string; teamPath?: string | undefined; title?: string | undefined; content?: string | undefined; tags?: string[] | undefined; description?: string | undefined; readPermission?: "owner" | "signed_in" | "guest" | undefined; writePermission?: "owner" | "signed_in" | "guest" | undefined; parentFolderId?: string | undefined; permalink?: string | undefined; }, { noteId: string; teamPath?: string | undefined; title?: string | undefined; content?: string | undefined; tags?: string[] | undefined; description?: string | undefined; readPermission?: "owner" | "signed_in" | "guest" | undefined; writePermission?: "owner" | "signed_in" | "guest" | undefined; parentFolderId?: string | undefined; permalink?: string | undefined; }>, { noteId: string; teamPath?: string | undefined; title?: string | undefined; content?: string | undefined; tags?: string[] | undefined; description?: string | undefined; readPermission?: "owner" | "signed_in" | "guest" | undefined; writePermission?: "owner" | "signed_in" | "guest" | undefined; parentFolderId?: string | undefined; permalink?: string | undefined; }, { noteId: string; teamPath?: string | undefined; title?: string | undefined; content?: string | undefined; tags?: string[] | undefined; description?: string | undefined; readPermission?: "owner" | "signed_in" | "guest" | undefined; writePermission?: "owner" | "signed_in" | "guest" | undefined; parentFolderId?: string | undefined; permalink?: string | undefined; }>; export declare const createFolderSchema: z.ZodObject<{ teamPath: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; icon: z.ZodOptional; color: z.ZodOptional; parentFolderId: z.ZodOptional; }, "strict", z.ZodTypeAny, { name: string; teamPath?: string | undefined; description?: string | undefined; parentFolderId?: string | undefined; icon?: string | undefined; color?: string | undefined; }, { name: string; teamPath?: string | undefined; description?: string | undefined; parentFolderId?: string | undefined; icon?: string | undefined; color?: string | undefined; }>; export declare const updateFolderSchema: z.ZodEffects; folderId: z.ZodString; name: z.ZodOptional; description: z.ZodOptional>; icon: z.ZodOptional>; color: z.ZodOptional>; parentFolderId: z.ZodOptional>; }, "strict", z.ZodTypeAny, { folderId: string; teamPath?: string | undefined; description?: string | null | undefined; parentFolderId?: string | null | undefined; name?: string | undefined; icon?: string | null | undefined; color?: string | null | undefined; }, { folderId: string; teamPath?: string | undefined; description?: string | null | undefined; parentFolderId?: string | null | undefined; name?: string | undefined; icon?: string | null | undefined; color?: string | null | undefined; }>, { folderId: string; teamPath?: string | undefined; description?: string | null | undefined; parentFolderId?: string | null | undefined; name?: string | undefined; icon?: string | null | undefined; color?: string | null | undefined; }, { folderId: string; teamPath?: string | undefined; description?: string | null | undefined; parentFolderId?: string | null | undefined; name?: string | undefined; icon?: string | null | undefined; color?: string | null | undefined; }>; export declare const syncNoteToGitHubSchema: z.ZodObject<{ teamPath: z.ZodOptional; noteId: z.ZodString; repository: z.ZodOptional; branch: z.ZodOptional; filePath: z.ZodOptional; baseBranch: z.ZodOptional; includeTitleTags: z.ZodOptional; allowDefaultBranch: z.ZodOptional; pullRequestTitle: z.ZodOptional; pullRequestBody: z.ZodOptional; version: z.ZodOptional; }, "strict", z.ZodTypeAny, { noteId: string; teamPath?: string | undefined; branch?: string | undefined; filePath?: string | undefined; repository?: string | undefined; baseBranch?: string | undefined; includeTitleTags?: boolean | undefined; allowDefaultBranch?: boolean | undefined; pullRequestTitle?: string | undefined; pullRequestBody?: string | undefined; version?: string | undefined; }, { noteId: string; teamPath?: string | undefined; branch?: string | undefined; filePath?: string | undefined; repository?: string | undefined; baseBranch?: string | undefined; includeTitleTags?: boolean | undefined; allowDefaultBranch?: boolean | undefined; pullRequestTitle?: string | undefined; pullRequestBody?: string | undefined; version?: string | undefined; }>; export declare const githubSyncStatusSchema: z.ZodObject<{ teamPath: z.ZodOptional; noteId: z.ZodString; }, "strict", z.ZodTypeAny, { noteId: string; teamPath?: string | undefined; }, { noteId: string; teamPath?: string | undefined; }>; export declare const pullGitHubFileToHackMdSchema: z.ZodObject<{ repository: z.ZodString; filePath: z.ZodString; branch: z.ZodOptional; syncBranch: z.ZodOptional; teamPath: z.ZodOptional; noteId: z.ZodOptional; overwriteHackMdContent: z.ZodOptional; includeTitleTags: z.ZodOptional; readPermission: z.ZodOptional>; writePermission: z.ZodOptional>; }, "strict", z.ZodTypeAny, { filePath: string; repository: string; teamPath?: string | undefined; readPermission?: "owner" | "signed_in" | "guest" | undefined; writePermission?: "owner" | "signed_in" | "guest" | undefined; noteId?: string | undefined; branch?: string | undefined; includeTitleTags?: boolean | undefined; syncBranch?: string | undefined; overwriteHackMdContent?: boolean | undefined; }, { filePath: string; repository: string; teamPath?: string | undefined; readPermission?: "owner" | "signed_in" | "guest" | undefined; writePermission?: "owner" | "signed_in" | "guest" | undefined; noteId?: string | undefined; branch?: string | undefined; includeTitleTags?: boolean | undefined; syncBranch?: string | undefined; overwriteHackMdContent?: boolean | undefined; }>; export interface ToolHandlerOptions { github?: GitHubClient; syncStateStore?: GitHubSyncStateStore; now?: () => Date; } export type ToolResult = { content: Array<{ type: "text"; text: string; }>; }; export declare function toolHandlers(client: HackMdClient, options?: ToolHandlerOptions): { hackmdProfile: (input: z.infer) => Promise; hackmdListNotes: (input: z.infer) => Promise; hackmdGetNote: (input: z.infer) => Promise; hackmdCreateNote: (input: z.infer) => Promise; hackmdUpdateNote: (input: z.infer) => Promise; hackmdListFolders: (input: z.infer) => Promise; hackmdGetFolder: (input: z.infer) => Promise; hackmdCreateFolder: (input: z.infer) => Promise; hackmdUpdateFolder: (input: z.infer) => Promise; hackmdSyncNoteToGitHub: (input: z.infer) => Promise; hackmdPullGitHubFileToHackMd: (input: z.infer) => Promise; hackmdGitHubSyncStatus: (input: z.infer) => Promise; }; export declare function toTextResult(value: unknown): ToolResult; //# sourceMappingURL=notes.d.ts.map