import React from 'react';
import type { TActionUnion, TEvictActionProps } from '../../../../types/ActionsDropdown';
import type { TDeleteChildrenModalData, TDrainResponse, TEvictModalData, TParseContext } from './types';
export declare const parseValueIfString: (value: unknown, ctx: TParseContext) => unknown;
export declare const resolveObjectByReqIndexAndJsonPath: ({ reqIndex, jsonPathToObj, multiQueryData, }: {
    reqIndex: string;
    jsonPathToObj: string;
    multiQueryData: Record<string, unknown>;
}) => Record<string, unknown> | undefined;
export declare const buildEvictModalData: (props: TEvictActionProps, ctx: TParseContext) => TEvictModalData;
export declare const buildEvictBody: (data: TEvictModalData) => {
    deleteOptions?: Record<string, unknown> | undefined;
    apiVersion: string;
    kind: string;
    metadata: {
        namespace?: string | undefined;
        name: string;
    };
};
export declare const buildDeleteChildrenData: (action: Extract<TActionUnion, {
    type: 'deleteChildren';
}>, ctx: TParseContext) => TDeleteChildrenModalData;
export declare const generateDnsCompliantName: (prefix: string, maxLength?: number) => string;
export declare const stripMetadataForRerun: (sourceObj: Record<string, unknown>, sourceJobName: string) => Record<string, unknown>;
export declare const buildDrainFailureDescription: ({ drained, failed, skipped }: TDrainResponse) => React.ReactNode;
