export type UserModels = { Write: User; Read: User; }; export type OrgModels = { Write: Organization; Read: Organization; }; export interface User> { _id: string; name: string; password: string; organization: Org; } export interface Organization[]> { _id: string; name: string; adminField1: string; adminField2: string; anotherFieldUserHaveNoAccess: string; teams: { name: string; users: Users; adminAuth: string; }[]; } export declare function createUser = string>(id: number, organization: Org): User; export declare function createOrg[] = string[]>(id: number, users?: Users): Organization; export declare const createUserId: (id: T) => `USER_${T}`; export declare const createOrgId: (id: T) => `ORG_${T}`; export declare const createTeamId: (id: T) => `TEAM_${T}`; export declare const userId1: "USER_1"; export declare const userId2: "USER_2"; export declare const orgId1: "ORG_1"; type TestRoles = 'public' | 'admin' | 'user' | 'system'; export declare function getCtx(userRole?: TestRoles, additionalFields?: {}): Ctx; export {};