import * as z from "zod"; export declare const RoleManagementPagePropsSchema: z.ZodObject<{ /** All roles (default + custom) */ roles: z.ZodArray>; terreiroId: z.ZodString; isDefault: z.ZodBoolean; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; permissions: z.ZodOptional; createdAt: z.ZodOptional; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; createdAt?: string | undefined; updatedAt?: string | undefined; }, { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; createdAt?: string | undefined; updatedAt?: string | undefined; }>, "many">>; permissionCount: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; permissions?: { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; createdAt?: string | undefined; updatedAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; }, { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; permissions?: { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; createdAt?: string | undefined; updatedAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; }>, "many">; /** Loading state */ isLoading: z.ZodOptional; /** Error message */ error: z.ZodNullable>; /** Callback to navigate to the create role page */ onCreateRole: z.ZodFunction, z.ZodVoid>; /** Callback to navigate to the edit role page */ onEditRole: z.ZodFunction, z.ZodVoid>; /** Callback when deleting a role (inline with confirmation dialog) */ onDeleteRole: z.ZodFunction, z.ZodPromise>; /** Callback when back button is clicked */ onBack: z.ZodOptional, z.ZodVoid>>; /** Submitting state (for delete) */ isSubmitting: z.ZodOptional; }, "strip", z.ZodTypeAny, { roles: { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; permissions?: { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; createdAt?: string | undefined; updatedAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; }[]; onCreateRole: (...args: unknown[]) => void; onEditRole: (args_0: string, ...args: unknown[]) => void; onDeleteRole: (args_0: string, ...args: unknown[]) => Promise; error?: string | null | undefined; isSubmitting?: boolean | undefined; onBack?: ((...args: unknown[]) => void) | undefined; isLoading?: boolean | undefined; }, { roles: { id: string; name: string; terreiroId: string; isDefault: boolean; description?: string | null | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; permissions?: { id: string; code: string; name: string; description: string; category: "ACTIVITIES" | "EVENTS" | "FINANCIAL" | "MONTHLY_FEES" | "MEMBERS" | "INVENTORY" | "RITUAL_BATHS" | "TERREIRO" | "SETTINGS" | "REPORTS" | "REQUESTS" | "ADMINISTRATION"; createdAt?: string | undefined; updatedAt?: string | undefined; }[] | undefined; permissionCount?: number | undefined; }[]; onCreateRole: (...args: unknown[]) => void; onEditRole: (args_0: string, ...args: unknown[]) => void; onDeleteRole: (args_0: string, ...args: unknown[]) => Promise; error?: string | null | undefined; isSubmitting?: boolean | undefined; onBack?: ((...args: unknown[]) => void) | undefined; isLoading?: boolean | undefined; }>; export type RoleManagementPageProps = z.infer; export type { Role } from "../RoleFormPage/RoleFormPage.types"; export type { Permission } from "../../components/molecules/PermissionSelector/PermissionSelector.types"; export interface DeleteDialogState { open: boolean; roleId: string | null; } export interface RoleStats { totalRoles: number; customRoles: number; defaultRoles: number; }