export type SrcsetCandidate = { url: string; width?: number; density?: number; }; /** Parse a comma-separated `srcset` attribute into URL + descriptor pairs. */ export declare function parseSrcset(srcset: string): SrcsetCandidate[]; /** Pick the `src` fallback the UA should use for a given `srcset`. */ export declare function resolveImageFallbackSrc(src: string, srcset: string): string;