import jsonpath from '@kui-shell/jsonpath'; import { Arguments, Row, Table } from '@kui-shell/core'; import { KubeOptions } from '../../kubectl/options'; import { KubeStatusAny, KubeItems, KubeResource } from '@kui-shell/plugin-kubectl-core'; type ParsedQuery = ReturnType; /** map from column name to jsonpath */ type CustomColumns = { key: string; query: ParsedQuery; }[]; /** * Generate a table Row for the given resource, using the queries from * the given CustomColumns. * */ export declare function evaluate>(resource: R, args: Pick, 'parsedOptions'>, drilldownCommand: string, kind: string, custo: CustomColumns): Row; /** See ./watch.ts; it will send row updates here for parsing */ export declare function toKuiTableForUpdateFromCustomColumns(resource: KubeResource, args: Pick, 'parsedOptions'>, drilldownCommand: string, kind: string, spec: string): Pick; /** See ./get.ts; it will send full table (as KubeItems) here for parsing */ export declare function toKuiTableFromCustomColumns(list: KubeResource | KubeItems, args: Pick, 'parsedOptions'>, drilldownCommand: string, kind: string, spec: string): Table; export default toKuiTableFromCustomColumns;