import { z } from 'zod'; import type { ThreekitAuthProps } from '../../ThreekitAuthProps.js'; import { Route } from '../Route.js'; export declare const UserRole: z.ZodObject; deletedAt: z.ZodOptional>; updatedAt: z.ZodOptional>; }, { name: z.ZodString; id: z.ZodString; orgId: z.ZodString; role: z.ZodString; userId: z.ZodString; permissions: z.ZodString; noneditable: z.ZodString; }>, "strip", z.ZodTypeAny, { orgId: string; createdAt: string; id: string; name: string; permissions: string; userId: string; role: string; noneditable: string; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; }, { orgId: string; createdAt: string; id: string; name: string; permissions: string; userId: string; role: string; noneditable: string; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; }>; export type UserRole = z.infer; export declare const UserSession: z.ZodObject; username: z.ZodString; photo: z.ZodNullable; createdAt: z.ZodString; disabledAt: z.ZodString; settings: z.ZodObject<{ mfa: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mfa?: { type: string; enabled: boolean; } | undefined; }, { mfa?: { type: string; enabled: boolean; } | undefined; }>; orgs: z.ZodArray; }, { roles: z.ZodArray; }>, "strip", z.ZodTypeAny, { createdAt: string; id: string; settings: { mfa?: { type: string; enabled: boolean; } | undefined; }; orgs: string[]; emails: string[]; username: string; photo: string | null; disabledAt: string; roles: string[]; }, { createdAt: string; id: string; settings: { mfa?: { type: string; enabled: boolean; } | undefined; }; orgs: string[]; emails: string[]; username: string; photo: string | null; disabledAt: string; roles: string[]; }>; export type UserSession = z.infer; export declare const User: z.ZodObject; username: z.ZodString; photo: z.ZodNullable; createdAt: z.ZodString; disabledAt: z.ZodString; settings: z.ZodObject<{ mfa: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mfa?: { type: string; enabled: boolean; } | undefined; }, { mfa?: { type: string; enabled: boolean; } | undefined; }>; orgs: z.ZodArray; }, { profile: z.ZodRecord; }>, "strip", z.ZodTypeAny, { createdAt: string; id: string; settings: { mfa?: { type: string; enabled: boolean; } | undefined; }; profile: Record; orgs: string[]; emails: string[]; username: string; photo: string | null; disabledAt: string; }, { createdAt: string; id: string; settings: { mfa?: { type: string; enabled: boolean; } | undefined; }; profile: Record; orgs: string[]; emails: string[]; username: string; photo: string | null; disabledAt: string; }>; export type User = z.infer; export declare const UserListing: z.ZodObject; perPage: z.ZodOptional; sort: z.ZodOptional; }, { users: z.ZodArray; username: z.ZodString; photo: z.ZodNullable; createdAt: z.ZodString; disabledAt: z.ZodString; settings: z.ZodObject<{ mfa: z.ZodOptional>; }, "strip", z.ZodTypeAny, { mfa?: { type: string; enabled: boolean; } | undefined; }, { mfa?: { type: string; enabled: boolean; } | undefined; }>; orgs: z.ZodArray; }, { profile: z.ZodRecord; }>, "strip", z.ZodTypeAny, { createdAt: string; id: string; settings: { mfa?: { type: string; enabled: boolean; } | undefined; }; profile: Record; orgs: string[]; emails: string[]; username: string; photo: string | null; disabledAt: string; }, { createdAt: string; id: string; settings: { mfa?: { type: string; enabled: boolean; } | undefined; }; profile: Record; orgs: string[]; emails: string[]; username: string; photo: string | null; disabledAt: string; }>, "many">; }>, "strip", z.ZodTypeAny, { users: { createdAt: string; id: string; settings: { mfa?: { type: string; enabled: boolean; } | undefined; }; profile: Record; orgs: string[]; emails: string[]; username: string; photo: string | null; disabledAt: string; }[]; sort?: string | undefined; page?: number | undefined; perPage?: number | undefined; }, { users: { createdAt: string; id: string; settings: { mfa?: { type: string; enabled: boolean; } | undefined; }; profile: Record; orgs: string[]; emails: string[]; username: string; photo: string | null; disabledAt: string; }[]; sort?: string | undefined; page?: number | undefined; perPage?: number | undefined; }>; export type UserListing = z.infer; export type QueryUserProps = any; export declare class Users extends Route { constructor(auth: ThreekitAuthProps); healthcheck(): Promise>; getSession(): Promise>; get(queryProps?: QueryUserProps): Promise; orgs: string[]; emails: string[]; username: string; photo: string | null; disabledAt: string; }[]; sort?: string | undefined; page?: number | undefined; perPage?: number | undefined; }, any>>; getById(id: string): Promise; orgs: string[]; emails: string[]; username: string; photo: string | null; disabledAt: string; }, any>>; }