import { ErrorInfo } from '../../core';
/**
 * Provides information about the requested field.
 */
export interface FieldInfo {
    /**
     * Mnemonic of the field - e.g., "LAST_PRICE".
     */
    mnemonic: string;
    datatype: string;
    categoryName: Array<string>;
    /**
     * The short description of the field, for example, for the mnemonic LAST_PRICE, the description is “Last Trade/Last Price.
     */
    description: string;
    /**
     * Corresponds to the field definition in `FLDS <GO>`.
     */
    documentation?: string;
    property: Array<{
        id: string;
        value: string;
    }>;
    overrides: Array<any>;
    ftype: string;
}
/**
 * The returned field data.
 */
export interface FieldData {
    /**
     * Unique ID of the field.
     */
    id: string;
    /**
     * Information about the field.
     */
    fieldInfo?: FieldInfo;
    /**
     * Field error (if any).
     */
    fieldError?: ErrorInfo;
}
