interface ClassInfo { resolver?: (props: Record) => Function; } interface PropertyInfo { type?: Function; indexed?: boolean; aliases?: string[]; } export declare class Builder { /** * Creates new instance of `T` class. * @param props properties to pass to the constructor of the instance. * @returns new instance of `T` */ static create(props: Partial): T; save(): Record; with(props: Partial): T; } export declare function Entity(info?: ClassInfo): ClassDecorator; export declare function Property(info?: PropertyInfo): PropertyDecorator; export {};