import type { AiSummaryStatus } from '../ai-summary/types';
import type { CnAiBizRequestConfig } from '../../../../../cn-ai-table/types';
export interface UseSummaryPollingOptions {
    recordId: string | number | undefined;
    tableId: string;
    rowData: Record<string, string>;
    initialSummary?: string;
    viewData?: any[];
    /** 为 false 时不发起 `generateAiSummary` 轮询（默认 true） */
    enabled?: boolean;
    /** 业务侧 AI 请求 URL 配置（仅 AI 字段能力） */
    bizRequestConfig?: Pick<CnAiBizRequestConfig, 'aiColumn'>;
}
export interface UseSummaryPollingResult {
    status: AiSummaryStatus;
    summary: string;
    refresh: () => void;
    clearCache: () => void;
}
export declare function useSummaryPolling({ recordId, tableId, rowData, initialSummary, viewData, enabled, bizRequestConfig, }: UseSummaryPollingOptions): UseSummaryPollingResult;
