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<string, ImageEntity>;
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<PropTypes.InferProps<{
    enabled: PropTypes.Validator<boolean>;
    accepterDelayedImages: PropTypes.Validator<(PropTypes.InferProps<{
        imageId: PropTypes.Validator<string>;
        stateName: PropTypes.Validator<string>;
        stateNameImageId: PropTypes.Validator<string>;
    }> | null | undefined)[]>;
    acceptableImages: PropTypes.Requireable<{
        [x: string]: PropTypes.InferProps<{
            id: PropTypes.Validator<string>;
            parentId: PropTypes.Validator<string>;
            stateName: PropTypes.Validator<string>;
            commitStatus: PropTypes.Requireable<import("../../constants").TestStatus | null>;
            originalStatus: PropTypes.Validator<string>;
        }> | null | undefined;
    }>;
}>>;
export {};
