/// <reference types="react" />
export declare type UserId = number;
export declare enum PermissionLevel {
    Owner = "owner",
    Creator = "creator",
    Editor = "editor",
    Commenter = "commenter",
    ReadOnly = "readOnly",
    None = "none"
}
export interface User {
    avatar?: string;
    email: string;
    emailVerified: boolean;
    id: number;
    name: string;
    permissionLevel: PermissionLevel;
    createdAt: string;
}
export declare type UserInfoById = Record<PropertyKey, User>;
export declare const UserInfoByIdContext: import("react").Context<Record<PropertyKey, {
    id: number;
    name: string;
    avatar?: string | undefined;
    email?: string | undefined;
    joinedAt?: string | undefined;
}> | null>;
export declare const UserInfoByIdProvider: import("react").Provider<Record<PropertyKey, {
    id: number;
    name: string;
    avatar?: string | undefined;
    email?: string | undefined;
    joinedAt?: string | undefined;
}> | null>, UserInfoByIdConsumer: import("react").Consumer<Record<PropertyKey, {
    id: number;
    name: string;
    avatar?: string | undefined;
    email?: string | undefined;
    joinedAt?: string | undefined;
}> | null>;
