import { Timestamp } from "./types";
export declare class BaseEntity {
    isActive: boolean;
    createdAt: Timestamp;
    updatedAt: Timestamp;
    constructor(config?: any);
}
export declare class Resource extends BaseEntity {
    id: string;
    userId: string;
    visibility: "public" | "private" | "limited";
    visibleTo: string[];
    constructor(config?: any);
    isVisibleTo(userId: string | null): boolean;
    get version(): number;
    get hasKey(): boolean;
}
