Files
study-bible-project/node_modules/docx/dist/file/styles/styles.d.ts
T

16 lines
811 B
TypeScript

import { IDefaultStylesOptions } from './factory';
import { BaseXmlComponent, ImportedXmlComponent, XmlComponent } from '../xml-components';
import { StyleForCharacter, StyleForParagraph } from './style';
import { ICharacterStyleOptions } from './style/character-style';
import { IParagraphStyleOptions } from './style/paragraph-style';
export type IStylesOptions = {
readonly default?: IDefaultStylesOptions;
readonly initialStyles?: BaseXmlComponent;
readonly paragraphStyles?: readonly IParagraphStyleOptions[];
readonly characterStyles?: readonly ICharacterStyleOptions[];
readonly importedStyles?: readonly (XmlComponent | StyleForParagraph | StyleForCharacter | ImportedXmlComponent)[];
};
export declare class Styles extends XmlComponent {
constructor(options: IStylesOptions);
}