import type { ExtractPropTypes, PropType } from 'vue'; import { WorkloadKind } from '../../constants/workload-props'; export declare enum InsightState { InsightLoading = "InsightLoading", InsightNotInstalled = "insightNotInstalled", InsightUnhealthy = "InsightUnhealthy", InsightHealthy = "insightHealthy" } export declare enum TimePeriod { last30d = "last30d", last7d = "last7d", last1d = "last1d", last1h = "last1h", last5m = "last5m", realTime = "realTime" } type SelectOptions = string[] | (() => Promise); export type LogQueryParams = { pod?: string; container?: string; search?: string; timePeriod: TimePeriod; }; export type LogItem = { timeStamp: string; log: string; }; type GetPodContainerLog = (params: LogQueryParams) => Promise; export declare const workloadLogsProps: { appendTo: { type: PropType; default: string; }; insightState: { type: PropType; default: InsightState; }; workloadType: { type: PropType; required: boolean; }; workloadParams: { type: PropType<{ cluster?: string | undefined; ns?: string | undefined; name?: string | undefined; }>; default: undefined; }; pod: { type: StringConstructor; default: undefined; }; hidePod: { type: BooleanConstructor; default: boolean; }; podList: { type: PropType; default: undefined; }; hideContainer: { type: BooleanConstructor; default: boolean; }; container: { type: StringConstructor; default: undefined; }; containerList: { type: PropType; default: undefined; }; shellService: { type: PropType; default: undefined; }; getPodContainerLog: { type: PropType; default: undefined; }; }; export type WorkloadLogsProps = ExtractPropTypes; export declare const workloadLogsEmits: { 'update:pod': (value: string[]) => void; 'update:container': (value: string[]) => void; }; export type WorkloadLogsEmits = (keyof typeof workloadLogsEmits)[]; export {};