export type Pagination = {
    pageNum: number;
    pageSize: number;
};
export interface FetchListAllDataOptions {
    api: (...args: any[]) => Promise<any>;
    params?: ((pagination: Pagination) => Record<string, any>) | Record<string, any>;
    isFinish?: (data: Record<string, any>) => boolean;
    toCurrentList?: (data: Record<string, any>) => any[];
}
export declare function fetchAllData(options: FetchListAllDataOptions): Promise<any[]>;
