import { AcDbDatabase } from './AcDbDatabase'; import { AcDbSymbolTable } from './AcDbSymbolTable'; import { AcDbTextStyleTableRecord } from './AcDbTextStyleTableRecord'; /** * Symbol table for text style table records. * * This class manages text style table records which represent text styles * within a drawing database. Text styles define the appearance and properties * of text entities, including font, size, and other formatting options. * * @example * ```typescript * const textStyleTable = new AcDbTextStyleTable(database); * const fonts = textStyleTable.fonts; * console.log('Available fonts:', fonts); * ``` */ export declare class AcDbTextStyleTable extends AcDbSymbolTable { /** * Creates a new AcDbTextStyleTable instance. * * @param db - The database this text style table belongs to * * @example * ```typescript * const textStyleTable = new AcDbTextStyleTable(database); * ``` */ constructor(db: AcDbDatabase); /** * Gets all fonts used in text styles. * * This method iterates through all text style table records and extracts * the font names from both the primary font file and big font file. * Font names are normalized by removing file extensions and converting to lowercase. * * @returns Array of unique font names used in text styles * * @example * ```typescript * const fonts = textStyleTable.fonts; * console.log('Available fonts:', fonts); * // Output: ['arial', 'times', 'calibri', ...] * ``` */ /** * Resolves a text style table record using AutoCAD-style fallbacks. * * Lookup order: * 1. Exact style name on the entity * 2. Current `$TEXTSTYLE` system variable * 3. Default style names (`Standard`, `STANDARD`) * 4. Case-insensitive match for each candidate above * 5. First available style in the table * * Ensures a default text style exists before resolving so entities can be * rendered while a drawing is still being converted. */ resolveAt(name?: string): AcDbTextStyleTableRecord | undefined; get fonts(): string[]; } //# sourceMappingURL=AcDbTextStyleTable.d.ts.map