export declare class FieldHandler { /** * Internap fields * * @type {string[]} * @memberof Fieldandler */ fields: string[]; constructor(withAllProperty?: boolean); /** * Symbol that separates fields * * @private * @static * @memberof Fieldandler */ private static readonly fieldSeparator; /** * Symbol that mean append * * @private * @static * @memberof Fieldandler */ private static readonly fieldAppendSymbol; /** * Symbol that means all field * * @private * @static * @memberof Fieldandler */ private static readonly allFieldsSymbol; /** * Add's a simple field. * if empty * * * @param {(string | string[])} [fields] * @memberof Fieldandler */ add(fields?: string | string[]): void; /** * Add's relation. * * @param {string} relation * @param {(string | string[])} [fields=Fieldandler.allFieldsSymbol] * @memberof Fieldandler */ addRelation(relation: string, fields?: string | string[]): void; /** * Add's relation with * on the end. * * @param {(string | string[])} [relations=Fieldandler.allFieldsSymbol] * @memberof Fieldandler */ addFullRelation(relations?: string | string[]): this; /** * Public getter. * * @returns * @memberof Fieldandler */ toString(): string; }