/** * Copyright 2022 Gravwell, Inc. All rights reserved. * * Contact: [legal@gravwell.io](mailto:legal@gravwell.io) * * This software may be modified and distributed under the terms of the MIT * license. See the LICENSE file for details. */ import { ElementFilterOperation } from './element-filter-operation'; /** Filter to perform an operation on a field. */ export interface OperationFilter { tag: string | null; module?: string | undefined; path: string; arguments: string | null; operation: ElementFilterOperation; value: string; } export declare const isOperationFilter: (v: ElementFilter) => v is OperationFilter; /** Filter to extract a field. */ export interface ExtractionFilter { tag: string | null; module?: string | undefined; path: string; arguments: string | null; } export declare type ElementFilter = OperationFilter | ExtractionFilter;