import { MoodleClient } from "../moodle/client.js"; import { MoodleCapabilities } from "../moodle/capabilities.js"; import { z } from "zod"; export declare const name = "search_users"; export declare const description: string; export declare const inputSchema: z.ZodEffects; lastname: z.ZodOptional; email: z.ZodOptional; username: z.ZodOptional; idnumber: z.ZodOptional; limit: z.ZodDefault>; offset: z.ZodDefault>; /** Internal: silo constraint injected by agent-edge */ _silo: z.ZodOptional>; }, "strip", z.ZodTypeAny, { limit: number; offset: number; username?: string | undefined; _silo?: { value: string; field: string; } | undefined; email?: string | undefined; firstname?: string | undefined; lastname?: string | undefined; idnumber?: string | undefined; }, { username?: string | undefined; limit?: number | undefined; offset?: number | undefined; _silo?: { value: string; field: string; } | undefined; email?: string | undefined; firstname?: string | undefined; lastname?: string | undefined; idnumber?: string | undefined; }>, { limit: number; offset: number; username?: string | undefined; _silo?: { value: string; field: string; } | undefined; email?: string | undefined; firstname?: string | undefined; lastname?: string | undefined; idnumber?: string | undefined; }, { username?: string | undefined; limit?: number | undefined; offset?: number | undefined; _silo?: { value: string; field: string; } | undefined; email?: string | undefined; firstname?: string | undefined; lastname?: string | undefined; idnumber?: string | undefined; }>; type MoodleUser = { id: number; username: string; firstname: string; lastname: string; fullname?: string; email?: string; idnumber?: string; department?: string; institution?: string; city?: string; country?: string; firstaccess?: number; lastaccess?: number; lastcourseaccess?: number; suspended?: boolean; confirmed?: boolean; auth?: string; lang?: string; timezone?: string; description?: string; customfields?: Array<{ type: string; value: string; name: string; shortname: string; }>; }; export declare function normalizeUser(user: MoodleUser): { customfields: Record; id: number; fullname: string; firstname: string; lastname: string; email: string | null; username: string; idnumber: string | null; department: string | null; institution: string | null; city: string | null; country: string | null; suspended: boolean; confirmed: boolean | null; auth: string | null; lang: string | null; timezone: string | null; description: string | null; lastaccess: string | null; firstaccess: string | null; lastcourseaccess: string | null; }; export declare function createHandler(client: MoodleClient, caps: MoodleCapabilities): (args: unknown) => Promise; export {}; //# sourceMappingURL=search-users.d.ts.map