import { MoodleClient } from "../moodle/client.js"; import { MoodleCapabilities } from "../moodle/capabilities.js"; import { z } from "zod"; /** * list_categories — List all LMS categories visible to the configured API token. * * Session cache: fetched once at startup, reused across all calls. * Course counts are joined from the pre-warmed course cache at zero cost. */ export declare const name = "list_categories"; export declare const description: string; export declare const inputSchema: z.ZodObject<{ /** Optional: filter by parent category ID */ parent: z.ZodOptional; /** Optional: filter by parent category ID */ parentid: z.ZodOptional; /** Optional: filter by exact parent category name */ parentname: z.ZodOptional; /** Optional: max categories to return */ limit: z.ZodDefault>; /** Optional: pagination offset */ offset: z.ZodDefault>; }, "strip", z.ZodTypeAny, { limit: number; offset: number; parent?: number | undefined; parentid?: number | undefined; parentname?: string | undefined; }, { limit?: number | undefined; offset?: number | undefined; parent?: number | undefined; parentid?: number | undefined; parentname?: string | undefined; }>; export declare function createHandler(client: MoodleClient, _caps: MoodleCapabilities): (args: unknown) => Promise; //# sourceMappingURL=list-categories.d.ts.map