/** * The above TypeScript code defines types and props for a RookSyncGate component. */ import type { ReactNode } from 'react'; export type Environment = 'sandbox' | 'production'; type RookSyncGateState = { clientUUID: string; environment: Environment; password: string; ready: boolean; userID: string; permissions: number; }; type Action = { type: 'SET_READY'; ready: boolean; } | { type: 'SET_ROOK_ENVIRONMENT'; environment: Environment; } | { type: 'SET_CLIENT_UUID'; clientUUID: string; } | { type: 'SET_USER_ID'; userID: string; } | { type: 'SET_PASSWORD'; password: string; } | { type: 'SET_PERMISSIONS'; }; type RookSyncGateProviderProps = { children: ReactNode; environment: Environment; clientUUID: string; password: string; enableLogs?: boolean; enableBackgroundSync: boolean; enableEventsBackgroundSync?: boolean; }; export type { RookSyncGateState, Action, RookSyncGateProviderProps }; //# sourceMappingURL=RookSyncGateTypes.d.ts.map