import type { IRoom, IUser, ISubscription } from '@rocket.chat/core-typings'; type E2eSetUserPublicAndPrivateKeysProps = { public_key: string; private_key: string; force?: boolean; }; export declare const isE2eSetUserPublicAndPrivateKeysProps: import("ajv").ValidateFunction; type E2eGetUsersOfRoomWithoutKeyProps = { rid: string; }; export declare const isE2eGetUsersOfRoomWithoutKeyProps: import("ajv").ValidateFunction; type E2eUpdateGroupKeyProps = { uid: string; rid: string; key: string; }; export declare const isE2eUpdateGroupKeyProps: import("ajv").ValidateFunction; type E2EProvideUsersGroupKeyProps = { usersSuggestedGroupKeys: Record; }; export declare const isE2EProvideUsersGroupKeyProps: import("ajv").ValidateFunction; type E2EFetchUsersWaitingForGroupKeyProps = { roomIds: string[]; }; export declare const isE2EFetchUsersWaitingForGroupKeyProps: import("ajv").ValidateFunction; type E2EResetRoomKeyProps = { rid: string; e2eKey: string; e2eKeyId: string; }; export declare const isE2EResetRoomKeyProps: import("ajv").ValidateFunction; export type E2eEndpoints = { '/v1/e2e.setUserPublicAndPrivateKeys': { POST: (params: E2eSetUserPublicAndPrivateKeysProps) => void; }; '/v1/e2e.getUsersOfRoomWithoutKey': { GET: (params: E2eGetUsersOfRoomWithoutKeyProps) => { users: Pick[]; }; }; '/v1/e2e.updateGroupKey': { POST: (params: E2eUpdateGroupKeyProps) => void; }; '/v1/e2e.acceptSuggestedGroupKey': { POST: (params: E2eGetUsersOfRoomWithoutKeyProps) => void; }; '/v1/e2e.rejectSuggestedGroupKey': { POST: (params: E2eGetUsersOfRoomWithoutKeyProps) => void; }; '/v1/e2e.fetchMyKeys': { GET: () => { public_key: string; private_key: string; }; }; '/v1/e2e.fetchUsersWaitingForGroupKey': { GET: (params: E2EFetchUsersWaitingForGroupKeyProps) => { usersWaitingForE2EKeys: Record; }; }; '/v1/e2e.provideUsersSuggestedGroupKeys': { POST: (params: E2EProvideUsersGroupKeyProps) => void; }; '/v1/e2e.resetRoomKey': { POST: (params: E2EResetRoomKeyProps) => void; }; }; export {}; //# sourceMappingURL=e2e.d.ts.map