import type { z, ZodTypeDef } from 'zod'; import type { AttributeRenderer } from '../types.js'; import type { VRange } from '../types.js'; import type { BaseTextAttributes } from '../utils/index.js'; import type { VEditor } from '../virgo.js'; export declare class VirgoAttributeService { readonly editor: VEditor; private _marks; private _attributeRenderer; private _attributeSchema; constructor(editor: VEditor); get marks(): TextAttributes | null; get attributeRenderer(): AttributeRenderer; setMarks: (marks: TextAttributes) => void; resetMarks: () => void; setAttributeSchema: (schema: z.ZodSchema) => void; setAttributeRenderer: (renderer: AttributeRenderer) => void; getFormat: (vRange: VRange, loose?: boolean) => TextAttributes; normalizeAttributes: (textAttributes?: TextAttributes) => TextAttributes | undefined; } //# sourceMappingURL=attribute.d.ts.map