export declare type Placement = 't' | 'tr' | 'rt' | 'r' | 'rb' | 'br' | 'b' | 'bl' | 'lb' | 'l' | 'lt' | 'tl';
export declare type Pos = {
    x: number;
    y: number;
};
export declare type APITimingField = 'name' | 'param' | 'duration' | 'type' | 'startTime' | 'key';
export declare type APITiming = {
    name: string;
    param?: string;
    duration?: number;
    type?: string;
    startTime?: number;
    key: number;
};
export declare type PageTiming = {
    name: string;
    value?: number;
    type: string;
    child?: PageTiming[] | APITiming[];
};
/**
 * 初始化按钮位置
 * @param placement
 * @param size
 */
export declare const defPosFun: (placement: Placement, size: number) => Pos;
export declare const renderInfo: (data: PageTiming) => string;
export declare const unixTime: (time: number) => number;
/**
 *
 * @param value string 关键词
 * @param data APITiming[] 表格数据
 * @param filterType APITiming内的某个字段
 */
export declare const filterSearch: (value: string, data: APITiming[], filterType?: "name" | "param" | "duration" | "type" | "startTime" | "key" | undefined) => APITiming[];
