import { CogniteClient } from '@cognite/sdk'; import { SerializedNodeCollection } from './SerializedNodeCollection'; import { CdfModelNodeCollectionDataProvider } from './CdfModelNodeCollectionDataProvider'; import { CdfNodeCollectionBase } from './CdfNodeCollectionBase'; /** * Options for {@link PropertyFilterNodeCollection}. */ export type PropertyFilterNodeCollectionOptions = { /** * How many partitions to split the request into. More partitions can yield better performance * for queries with very large result set (in order of magnitude 100.000 plus). * Defaults to 1. */ requestPartitions?: number; }; /** * Represents a set of nodes that has matching node properties to a provided filter. Note that * a node is considered to match if it or a {@link NodeCollection} ancestors match the filter. */ export declare class PropertyFilterNodeCollection extends CdfNodeCollectionBase { static readonly classToken = "PropertyFilterNodeCollection"; private readonly _client; private readonly _model; private readonly _options; private readonly _filter; constructor(client: CogniteClient, model: CdfModelNodeCollectionDataProvider, options?: PropertyFilterNodeCollectionOptions); /** * Populates the node collection with nodes matching the provided filter. This will replace * the current nodes held by the filter. * @param filter A filter for matching node properties. * @example * ``` * set.executeFilter({ 'PDMS': { 'Module': 'AQ550' }}); * ``` */ executeFilter(filter: { [category: string]: { [key: string]: string; }; }): Promise; serialize(): SerializedNodeCollection; }