import { Constructor } from '../util/mixin.ts'; import { AttributesAPI } from './attributes.ts'; export declare function Primitives>(Base: TBase): (abstract new (...args: any[]) => { reset(): void; readonly sp: " "; readonly brsp: "\u200B "; readonly nbsp: "\u00A0"; readonly visp: "\u2423"; readonly zwnj: "\u200C"; readonly shy: "\u00AD"; readonly thinsp: "\u2009"; character(c: string): string; textquote(q: string): string | undefined; hyphen(): string; ligature(l: string): string; hasDiacritic(d: string): boolean; diacritic(d: string, c?: string): string; controlSymbol(c: string): string; hasSymbol(name: string): boolean; symbol(name: string): string; _continue: number | false; _newGroup: ((parent: import('./groups.ts').StackItem | undefined, copyAttrs: boolean) => import('./groups.ts').StackItem) & ((parent: import('./groups.ts').StackItem | undefined, copyAttrs: boolean) => import('./groups.ts').StackItem); continue(): void; break(): void; setAlignment(align: import('./attributes.ts').Alignment): void; alignment(): import('./attributes.ts').Alignment; setFontFamily(family: string): void; setFontWeight(weight: string): void; setFontShape(shape: string): void; setFontSize(size: string): void; setTextDecoration(decoration: string): void; _setAttribute(attr: keyof import('./attributes.ts').TextAttributes, value: string): void; _inlineAttributes(): string; _activeAttributeValue(attr: keyof import('./attributes.ts').TextAttributes): string | undefined; _stack: import('../util/stack.ts').default; _groups: import('../util/stack.ts').default; enterGroup(copyAttrs?: boolean): void; exitGroup(): void; startBalanced(): void; endBalanced(): number; isBalanced(): boolean; _options: import('../options.ts').Options; _uid: number; get options(): import('../options.ts').Options; nextId(): number; round(num: number): number; _errorFn: (e: string) => never; setErrorFn(fn: (msg: string) => never): void; error(e: string): never; _rangeFn: () => import('./core.ts').SourceRange; setRangeFn(fn: () => import('./core.ts').SourceRange): void; offset(): number; }) & TBase;