import Record from '../models/record';
import Field from '../models/field';
/**
 * Options object for expanding a record list.
 */
interface ExpandRecordListOpts {
    /** The fields to include in the record cards. The primary field will always be shown. Duplicate fields will be removed. */
    fields?: Array<Field>;
}
/**
 * Expands a list of records in the Airtable UI.
 *
 * @param records The records to expand. Duplicate records will be removed.
 * @param opts An optional options object.
 *
 * @example
 * ```js
 * import {expandRecordList} from '@airtable/blocks/ui';
 * expandRecordList([record1, record2, record3]);
 *
 * expandRecordList([record1, record2], {
 *     fields: [field1, field2],
 * });
 * ```
 * @docsPath UI/utils/expandRecordList
 */
declare function expandRecordList(records: Array<Record>, opts?: ExpandRecordListOpts): void;
export default expandRecordList;
