import { Align, Layout } from 'gestalt/src//Masonry/types';
import { Cache } from './Cache';
import { Position } from './types';
declare const defaultLayout: <T extends {
    readonly [key: string]: unknown;
}>({ align, columnWidth, gutter, layout, minCols, rawItemCount, width, measurementCache, _twoColItems, ...otherProps }: {
    columnWidth?: number | undefined;
    gutter?: number | undefined;
    align: Align;
    layout: Layout;
    minCols?: number | undefined;
    rawItemCount: number;
    width?: number | null | undefined;
    positionCache: Cache<T, Position>;
    measurementCache: Cache<T, number>;
    _twoColItems?: boolean | undefined;
    whitespaceThreshold?: number | undefined;
    logWhitespace?: ((arg1: number) => void) | undefined;
}) => (items: readonly T[]) => ReadonlyArray<Position>;
export default defaultLayout;
