export declare class PercentMaskError extends Error { readonly kind: 'length' | 'number' | 'sum'; constructor(message: string, kind: 'length' | 'number' | 'sum'); } export declare function expandPercentMask(mask: string, valueCount: number): number[]; /** * The positions the mask left for the engine to fill that came out at ZERO — * values that are declared and can never be drawn. * * A mask shorter than the list is legal on purpose: what is left over goes to * the positions nobody wrote. `value="a,b,c" percent="30,40"` gives `c` the * remaining 30, which is the whole point. But when the written shares already * total 100 there is nothing left, and `c` silently stops existing — * `percent="50,50"` over 300 rows came out 150 `a`, 150 `b`, no `c`, and * `check` called the config valid. * * A zero the author WROTE is not reported: `percent="50,0,50"` says "never this * one" in as many words, and answering a clear statement with a warning is how * a gate teaches people to ignore it. Only an inferred zero is a surprise. * * Call it after `expandPercentMask` has succeeded — it assumes the parts parse. */ export declare function inferredZeros(mask: string, valueCount: number): number[]; //# sourceMappingURL=percent-mask.d.ts.map