import { FileInputImageSource } from '../FileInput'; import { SortablePhoto, SortablePhotosProps, WithId } from './types'; export declare const useSortablePhotos: (props: SortablePhotosProps) => { input: { openFilePicker: (imageSource?: FileInputImageSource, options?: Partial) => Promise; ref: React.MutableRefObject; }; handlePressPhoto: (photo: T, order: number) => void; handleDeletePhoto: (photo: T, order: number) => void; handleOpenPicker: (pickerType: FileInputImageSource, photo: T, order: number) => Promise; sortPhotos: (_unorderedPhotos: WithId[]) => { sortedPhotos: (T & { key: string; })[]; newPhotos: ((T & { order: number; }) | (T & { order: number; key: string; }))[]; }; numberPhotosMissing: number; onChangePhotosOrder: (newData: WithId[]) => void; emptyIndexes: never[]; data: WithId[]; enabledDragDrop: boolean; }; //# sourceMappingURL=useSortablePhotos.d.ts.map