import { Types } from './types'; interface ITypesetAttrs { align?: 'left' | 'center' | 'right' | 'justify'; spaceBefore?: number; spaceAfter?: number; spaceBoth?: number; lineHeight?: number; lineIndent?: number; } declare const getNum: (val: string, fontSize: number) => number; declare const getEm: (val: string, fontSize: number) => number; declare const getPx: (val: string, fontSize: number) => number; declare const readTypesetStyle: (res: Types.StringMap, name: string, value: string, fontSize: number) => void; declare const parseTypesetStyle: (style: string, readStyle?: (res: Types.StringMap, name: string, value: string, fontSize: number) => any, fontSize?: number) => ITypesetAttrs; declare const getMarginStyle: (spaceBefore: string | number | undefined, spaceAfter: string | number | undefined, spaceBoth: string | number | undefined, dAttrs: Types.StringMap) => string; declare const getTypesetDOMStyle: (attrs: ITypesetAttrs & Types.StringMap, dAttrs?: any) => string; export { getEm, getMarginStyle, getNum, getPx, getTypesetDOMStyle, ITypesetAttrs, parseTypesetStyle, readTypesetStyle };