/** * The JavaScript side of the WebAssembly line breaker (rust/crates/wasm): * the call `computeBreakpoints(items, options)` makes, answered by the Rust * engine. A paragraph is written straight into buffers the module owns, * nine f64 per item, and the breaks are read back the same way; nothing is * serialised and nothing is allocated per paragraph once the buffers have * grown. */ import type { KPItem, KPOptions } from '../types.js'; export type Breaker = (items: KPItem[], options: KPOptions) => number[]; /** A line breaker over an instance of the module. */ export declare function wasmBreaker(instance: WebAssembly.Instance): Breaker; //# sourceMappingURL=abi.d.ts.map