import type { Segment } from "../encoding/segmentation.js"; import type { EccLevel } from "../types/index.js"; /** * Strategy for selecting the smallest QR version that fits the data. */ export interface VersionStrategy { select(segments: Segment[], ecc: EccLevel): number; } /** * Iterates from MIN_VERSION to MAX_VERSION to find the first one that fits. */ export declare const SmallestVersionStrategy: VersionStrategy;