export type ExtraArgsShape = { extraArgs?: any; }; export type Image = { src: string; aspect_ratio: number; alt?: string; } & ExtraArgs; export type LastRowBehaviorMatchPrevious = { lastRowBehavior?: 'match-previous'; shrinkLimit?: number; growLimit?: number; preferGrowing?: number; }; export type LastRowBehaviorPreserve = { lastRowBehavior: 'preserve'; }; export type LastRowBehaviorFill = { lastRowBehavior: 'fill'; threshold?: number; }; export type GalleryCalculationProps = { ratios: number[]; images: Image[]; } & (LastRowBehaviorMatchPrevious | LastRowBehaviorPreserve | LastRowBehaviorFill); export declare const calculateImageSizes: (arg: GalleryCalculationProps) => readonly [number[][], number[]];