@sheetxl/models
Version:
Models - A Headless javascript spreadsheet library.
28 lines • 1.03 kB
TypeScript
import PropertyPersister from "../dagm/PropertyPersister";
/**
* List of Dash definitions.
*/
export declare const PRESET_DASH_DEFINITIONS: (string | number | number[])[][];
/** read only dash */
export declare class Dash {
_private: any;
constructor(dash?: string);
toJSON(): any;
get key(): any;
get isPreset(): any;
get description(): any;
get dashArray(): any;
toSVGPath(lineWidth: number): string;
toString(): any;
}
export declare const getPresetKeys: () => readonly string[];
export declare const getPresetDashFromKey: (key: string) => Dash | undefined;
export declare const getPresetDashFromOoxmlId: (ooxmlId: number) => Dash | undefined;
export declare const getPresetDashFromNativeId: (nativeId: number) => Dash | undefined;
declare const dashSetter: (value: string | Dash) => string | Dash;
declare class DashPersister extends PropertyPersister {
toJSON(value: any): any;
fromJSON(jsonValue: any): Dash;
}
export { dashSetter, DashPersister };
//# sourceMappingURL=Dash.d.ts.map