import { V1DaemonSet, V1Pod, V1ReplicaSet, V1StatefulSet } from "@kubernetes/client-node"; import { IStatusProps } from "azure-devops-ui/Status"; import { ITableColumn, ITableRow } from "azure-devops-ui/Table"; import * as React from "react"; import { SelectionActionsCreator } from "../Selection/SelectionActionCreator"; import { IVssComponentProperties } from "../Types"; import "./KubeCardWithTable.scss"; import { IResourceStatusProps } from "./ResourceStatus"; export interface ITableComponentProperties extends IVssComponentProperties { className?: string; headingText?: string | JSX.Element; headingDescription?: string; hideHeaders?: boolean; hideLines?: boolean; items: T[]; columns: ITableColumn[]; onItemActivated?: (event: React.SyntheticEvent, tableRow: ITableRow, selectedItem: any) => void; onItemSelected?: (event: React.SyntheticEvent, tableRow: ITableRow, selectedItem: any) => void; } export declare class KubeCardWithTable extends React.Component> { render(): React.ReactNode; private _getComponent; private _onItemActivated; private _onItemSelected; } export declare function defaultColumnRenderer(text: string, contentClassName?: string, tooltipText?: string): React.ReactNode; export declare function renderTableCell(rowIndex: number, columnIndex: number, tableColumn: ITableColumn, itemToRender: React.ReactNode, statusProps?: IResourceStatusProps, contentClassName?: string): JSX.Element; export declare function renderTwoLineColumn(columnIndex: number, tableColumn: ITableColumn, primaryText: string, subText: string, className?: string, primaryTextClassName?: string, secondaryTextClassName?: string, statusProps?: IResourceStatusProps): JSX.Element; export declare function renderPodNameWithStatusTableCell(rowIndex: number, columnIndex: number, tableColumn: ITableColumn, podName?: string, podStatusProps?: IStatusProps, statusTooltip?: string, contentClassName?: string): JSX.Element; export declare function renderPodsStatusTableCell(rowIndex: number, columnIndex: number, tableColumn: ITableColumn, podsCountString?: string, podsStatusProps?: IStatusProps, tooltip?: string, onClick?: () => void, linkClassName?: string): JSX.Element; export declare function onPodsColumnClicked(pods: V1Pod[], item: V1ReplicaSet | V1StatefulSet | V1DaemonSet | V1Pod, itemKind: string, selectionActionCreator: SelectionActionsCreator): void; export declare function renderExternalIpWithCopy(textToDisplay: string, tooltipText?: string, onCopyCompleted?: (rowIndex: number) => void): JSX.Element; export declare function renderExternalIpCell(rowIndex: number, columnIndex: number, tableColumn: ITableColumn, item: any, onCopyCompleted?: (rowIndex: number) => void): JSX.Element;