import { Bounds } from "@sheetxl/common";
import { HorizontalAlignment } from "./types";
import { ITextVisitor } from "./TextVisitor";
import { TabStop } from "./TabStop";
import { IBullet } from "./Bullet";
import { ITextRun, PlacedTextRun } from "./TextRun";
/**
 * Represents a collection of runs with specific information about white spacing before/after.
 */
export interface ITextParagraph {
    /**
     * This is used if the run doesn't have a font or in the case where there is no run (Empty line)
     */
    readonly defaultFontSize: number;
    readonly defaultTabSize: number;
    readonly tabOverrides: TabStop[];
    readonly spacingBefore: number;
    readonly spacingAfter: number;
    readonly lineSpacing: number;
    readonly align: HorizontalAlignment;
    readonly endParagraphSize: number;
    readonly indentLevel: number;
    readonly leadingIndent: number;
    readonly hangingIndent: number;
    readonly rightMargin: number;
    readonly bullet: IBullet;
    readonly runs: ITextRun[];
}
export interface PlacedTextParagraph extends ITextParagraph {
    /**
     * Bounds is not copied during clone.
     */
    readonly bounds?: Bounds;
    readonly runs: PlacedTextRun[];
}
export interface CloneableTextParagraph extends ITextParagraph {
    clone(visitor?: ITextVisitor): ITextParagraph;
    equals(other: ITextParagraph): boolean;
}
export declare class DefaultTextParagraph implements ITextParagraph, PlacedTextParagraph, CloneableTextParagraph {
    private _private;
    private _bounds;
    constructor(overrides: Partial<ITextParagraph>);
    clone(visitor?: ITextVisitor): ITextParagraph;
    equals(other: ITextParagraph): boolean;
    get bounds(): Bounds;
    get defaultFontSize(): number;
    get defaultTabSize(): number;
    get tabOverrides(): TabStop[];
    get spacingBefore(): number;
    get spacingAfter(): number;
    get lineSpacing(): number;
    get align(): HorizontalAlignment;
    get endParagraphSize(): number;
    get indentLevel(): number;
    get leadingIndent(): number;
    get hangingIndent(): number;
    get rightMargin(): number;
    get bullet(): IBullet;
    get runs(): ITextRun[];
}
//# sourceMappingURL=TextParagraph.d.ts.map