import { Filter, IDevice, IModel, INetwork, JSONObject } from '../util/types'; import { Device } from './device'; import { ConnectionModel } from './model.connection'; import { Value } from './value'; export declare function createNetwork(params: INetwork): Promise; export declare class Network extends ConnectionModel implements INetwork { #private; static endpoint: string; static attributes: string[]; name: string; description?: string; device: Device[]; get devices(): Device[]; constructor(name?: string); getAttributes(): string[]; static getFilter(filter?: Filter, omit_filter?: Filter): string[]; static getFilterResult(filter?: Filter, omit_filter?: Filter): string; addChildrenToStore(): void; findDeviceByName(name: string): Device[]; findDeviceByProduct(product: string): Device[]; findValueByName(name: string): Value[]; findValueByType(type: string): Value[]; loadAllChildren(json: JSONObject | null, reloadAll?: boolean): Promise; createDevice(params: IDevice): Promise; parseChild(json: JSONObject): boolean; removeChild(child: IModel): void; setParent(parent: IModel | undefined): void; static find: (params: JSONObject, quantity?: number | "all", readOnly?: boolean, usage?: string, filterRequest?: JSONObject) => Promise; static findByName: (name: string, quantity?: number | "all", readOnly?: boolean, usage?: string) => Promise; static findAllByName: (name: string, readOnly?: boolean, usage?: string) => Promise; static findById: (id: string, readOnly?: boolean) => Promise; static findByFilter: (filter: Filter, omit_filter?: Filter, quantity?: number | "all", readOnly?: boolean, usage?: string) => Promise; static findAllByFilter: (filter: Filter, omit_filter?: Filter, readOnly?: boolean, usage?: string) => Promise; static fetchById: (id: string) => Promise; static fetchByName: (name?: string) => Promise; static fetch: () => Promise; }