import { ActivationDesc } from 'openwhisk'; import { ParsedOptions, Table, Row, Tab } from '@kui-shell/core'; import { Activation } from '../../models/resource'; import { ListOptions } from '../../controller/options'; export declare type ActivationListRow = Row & Activation; export interface ActivationListTable extends Table { body: ActivationListRow[]; } /** * Is this `activation` an apache composer session? * */ export declare function isSession(activation: Activation | ActivationDesc): boolean; interface Args { tab: Tab; entity?: Activation; activationIds: Activation[] | string[]; container: Element; noCrop?: boolean; noPip?: boolean; showResult?: boolean; showStart?: boolean; showTimeline?: boolean; skip?: number; limit?: number; parsedOptions?: ParsedOptions; } /** * Given a list of activationIds, render a list view and place it in * the given container * */ export declare const render: (opts: Args) => void; /** * Turn a list of `Activation` into an HTMLElement bespoke view * */ export declare const renderActivationListView: (tab: Tab, activations: Activation[], parsedOptions: ListOptions) => HTMLElement; export {};