import { DataRow, Row } from '../types';
import type * as Types from '../types';
export declare class AsyncData<D extends DataRow> implements Types.DataSource {
    readonly api: Types.ExternalApi<D>;
    readonly rowHeight: number;
    readonly resolvePrimaryKey: Types.ResolvePrimaryKey;
    constructor(api: Types.ExternalApi<D>, rowHeight: number, resolvePrimaryKey: Types.ResolvePrimaryKey);
    get height(): number;
    getHeight(): Promise<number>;
    getRows(scrollTop: number, bodyHeight: number): Promise<Row[]>;
}
