import type { CellOutput, OutputData, OutputSummaryEntry } from '@curvenote/blocks'; import { KnownCellOutputMimeTypes, OutputSummaryKind } from '@curvenote/blocks'; import type { IFileObjectFactoryFn } from '../../files'; import Summarizer from './base'; declare class ImageSummarizer extends Summarizer { data: OutputData; selectedContentType: KnownCellOutputMimeTypes | null; constructor(fileFactory: IFileObjectFactoryFn, item: CellOutput, basepath: string); test(item: CellOutput): boolean; kind(): OutputSummaryKind; $pickBestImageType(): KnownCellOutputMimeTypes | null; $selectedTypeError(): Error; /** * Removes the image key that this summarizer will process */ next(): CellOutput; prepare(): OutputSummaryEntry; process(summary: OutputSummaryEntry): Promise; } export default ImageSummarizer;