30 lines
1.0 KiB
TypeScript
30 lines
1.0 KiB
TypeScript
import { XmlComponent } from '../../xml-components';
|
|
export type TabStopDefinition = {
|
|
readonly type: (typeof TabStopType)[keyof typeof TabStopType];
|
|
readonly position: number | (typeof TabStopPosition)[keyof typeof TabStopPosition];
|
|
readonly leader?: (typeof LeaderType)[keyof typeof LeaderType];
|
|
};
|
|
export declare const TabStopType: {
|
|
readonly LEFT: "left";
|
|
readonly RIGHT: "right";
|
|
readonly CENTER: "center";
|
|
readonly BAR: "bar";
|
|
readonly CLEAR: "clear";
|
|
readonly DECIMAL: "decimal";
|
|
readonly END: "end";
|
|
readonly NUM: "num";
|
|
readonly START: "start";
|
|
};
|
|
export declare const LeaderType: {
|
|
readonly DOT: "dot";
|
|
readonly HYPHEN: "hyphen";
|
|
readonly MIDDLE_DOT: "middleDot";
|
|
readonly NONE: "none";
|
|
readonly UNDERSCORE: "underscore";
|
|
};
|
|
export declare const TabStopPosition: {
|
|
readonly MAX: 9026;
|
|
};
|
|
export declare const createTabStopItem: ({ type, position, leader }: TabStopDefinition) => XmlComponent;
|
|
export declare const createTabStop: (tabDefinitions: readonly TabStopDefinition[]) => XmlComponent;
|