import { Relation } from '.'; import { ModelType } from './WarthogModel'; /** * Reperenst GraphQL object type field * @constructor(name: string, type: string, nullable: boolean = true, isBuildinType: boolean = true, isList = false) */ export declare class Field { name: string; type: string; modelType: ModelType; isBuildinType: boolean; nullable: boolean; isList: boolean; description?: string; unique?: boolean; relation?: Relation; derivedFrom?: { argument: string; }; apiOnly?: boolean; directives: string[]; constructor(name: string, type: string, nullable?: boolean, isBuildinType?: boolean, isList?: boolean, directives?: string[]); columnType(): string; isArray(): boolean; isScalar(): boolean; isRelationType(): boolean; isEnum(): boolean; isUnion(): boolean; isEntity(): boolean; isJson(): boolean; }