import Source from '../../BoosterImage/classes/Source.js'; import type { BoosterProvide } from '../../../../module.js'; import type { $Img } from '@nuxt/image'; export interface ClassNames { picture: string; image: string[]; } export default class SourceList { list: Source[]; sort: boolean; constructor(list: Source[], options?: { sort?: boolean; }); get length(): number; [Symbol.iterator](): ArrayIterator; get key(): string; get sorted(): Source[]; get style(): string; get className(): string; get classNames(): ClassNames; getFormats(formats: string[], preloadFormat: string, isCritical: boolean): Source[]; getMeta($img: $Img, $booster: BoosterProvide): Promise; toJSON(): Source[]; static create(...args: [Source[], { sort?: boolean; }]): SourceList; }