export interface UserAdminGenOutput { schemas: string; functions: string; } /** * Generate the user-management functions into the project scaffold: the * directory read plus the writes that wrap better-auth's `admin()` endpoints. * * Scaffolded rather than shipped in an addon because managing users is ordinary * application behaviour: an app should not have to install the console — which * exists to be served alongside a running dev server — just to list or ban its * own users. The console UI calls these same functions when it is present. * * Each function is gated on its own `admin:users:*` scope. The writes are only * meaningful where `admin()` is wired, which is why this file is generated only * in that case. * * Emitted as two files. The schemas are zod, and the inspector reads a zod * schema by importing the module that declares it — which it cannot do for the * functions file, whose relative pikku-types import per-unit deploy codegen * rewrites. Keeping the schemas in a sibling module that imports nothing but * zod sidesteps that entirely. */ export declare const serializeUserAdminFunctions: (pathToPikkuTypes: string, requireAuth?: boolean) => UserAdminGenOutput;