type TabStopInput = {
    /**
     * - Position in pixels from paragraph start.
     */
    pos: number;
    val: "start" | "end" | "center" | "decimal" | "bar" | "clear";
    leader?: "none" | "heavy" | "dot" | "hyphen" | "underscore" | "middleDot" | undefined;
    decimalChar?: string | undefined;
};
type LayoutRequest = {
    paragraphId: string;
    revision: number;
    paragraphWidth: number;
    defaultTabDistance: number;
    defaultLineLength: number;
    indents: {
        left: number;
        right: number;
        firstLine: number;
        hanging: number;
    };
    tabStops: TabStopInput[];
    spans: Array<TextSpan | TabSpan>;
    indentWidth?: number | undefined;
    paragraphNode?: import('prosemirror-model').Node | undefined;
};
type TextSpan = {
    type: "text";
    spanId: string;
    text: string;
    style: Object;
    from: number;
    to: number;
};
type TabSpan = {
    type: "tab";
    spanId: string;
    tabId: string;
    pos: number;
    nodeSize: number;
};
type LayoutResult = {
    paragraphId: string;
    revision: number;
    tabs: {
        [x: string]: TabLayout;
    };
};
type TabLayout = {
    width: number;
    height: number;
    alignment: "start" | "center" | "end" | "decimal" | "bar" | "default";
    tabStopPosUsed: number | string;
    leader?: "none" | "heavy" | "dot" | "hyphen" | "underscore" | "middleDot" | undefined;
};
//# sourceMappingURL=types.d.ts.map