import { Entity, EntityId } from '@pocket-architect/core'; import { SchemaObject } from './SchemaObject'; export declare enum AttributeType { String = "string", Number = "number", Boolean = "boolean", Date = "date", Enum = "enum" } export interface IMethod { id: string; name: string; type: AttributeType; enum?: string[]; mandatory?: boolean; description?: string; } export declare class MethodId extends EntityId { readonly isMethod = true; } export declare class Method extends Entity { protected _entity: SchemaObject; static create(props: IMethod, entity: SchemaObject): Method; get name(): string; get type(): string; get description(): string; get entity(): SchemaObject; }