import { AnyObject } from '../../../../shared/types'; export declare const useFormat: (state: any, attr: AnyObject) => { formatData: (data?: { tableList: any[]; fieldList: any[]; btnList: any[]; showButtonTop: number; isNestTabel?: boolean | undefined; mainTableTheUniqueKey?: string | undefined; mainTableRow?: { [key: string]: any; } | undefined; nestTableId?: string | undefined; }) => any[]; htmlToText: (HTML: any) => any; getBtnStyle: (v: any) => { 'border-color': any; color: any; 'background-color'?: undefined; } | { color: any; 'border-color'?: undefined; 'background-color'?: undefined; } | { 'background-color': any; 'border-color': any; color?: undefined; }; getAttr: (field: string) => any; };