import { TPerRequestErrorResult } from './types';
/**
 * Auto-detects which requests a component depends on
 * by scanning template strings in its `data` props for
 * {reqs[N]...} and {reqsJsonPath[N]...} patterns.
 *
 * Also picks up an explicit `data.reqIndex` prop (used by
 * direct-access components like Labels, Annotations, etc.).
 *
 * If no req references are found (layout components like antdFlex,
 * or programmatically rendered components like ConverterBytes inside
 * UsageGraphCard), returns no error — the component does not consume
 * multiQuery data, so multiQuery errors are irrelevant to it.
 */
export declare const useAutoPerRequestError: (data: Record<string, unknown>) => TPerRequestErrorResult;
