import PropTypes from 'prop-types'; import type { ReporterConfig } from '../../types'; import { COMMITED, STAGED } from '../../constants'; import { ImageEntity } from "../new-ui/types/store"; export interface AcceptableImage { id: string; parentId: string; stateName: string; stateNameImageId: string; commitStatus: null | typeof STAGED | typeof COMMITED; originalStatus: string; } type ImagesById = Record; type CommitPayload = Array<{ id: string; stateNameImageId: string; image: string; path: string; }>; export declare const checkIsEnabled: (config: ReporterConfig['staticImageAccepter'], isGui: boolean) => boolean; export declare const formatCommitPayload: (acceptableImgages: AcceptableImage[], imagesById: ImagesById, extraImages?: Array<{ imageId: string; stateNameImageId: string; }>) => CommitPayload; export declare const getLocalStorageCommitedImageIds: () => string[]; export declare const storeCommitInLocalStorage: (newCommitedImages: Array<{ imageId: string; stateNameImageId: string; }>) => void; export declare const staticImageAccepterPropType: PropTypes.Requireable; accepterDelayedImages: PropTypes.Validator<(PropTypes.InferProps<{ imageId: PropTypes.Validator; stateName: PropTypes.Validator; stateNameImageId: PropTypes.Validator; }> | null | undefined)[]>; acceptableImages: PropTypes.Requireable<{ [x: string]: PropTypes.InferProps<{ id: PropTypes.Validator; parentId: PropTypes.Validator; stateName: PropTypes.Validator; commitStatus: PropTypes.Requireable; originalStatus: PropTypes.Validator; }> | null | undefined; }>; }>>; export {};