import { AttachmentType } from './graphql-types'; import { LabelTemplateDB } from './redux/reducer'; export declare enum Errors { LOGIN = "Please Login", UNAUTHORIZED = "Unauthorized", NOT_FOUND = "Project not found", NO_MORE_LABELS = "NO_MORE_LABELS", SKIP_CHECKOUT = "Checkout disabled" } export interface TemplateLabel { id: string; label: string; predictionModel: { id: string; } | null; } export interface AssetMetadata { id: string; metaType: AttachmentType; metaValue: string; name?: string | null; } declare type NextReservedAsset = { id: string; rowData: string; labelingTaskId: string; externalId: string | null; hidden: boolean | null; labelTemplates: TemplateLabel[] | null; metadata?: AssetMetadata[]; template: LabelTemplateDB | null; labelLog: string | null; }; export declare const getNextRowToLabel: ({ projectId, dataRowIdsToSkip, }: { projectId: string; dataRowIdsToSkip: string[]; }) => Promise; export {};