/**
 * cursor style link https://developer.mozilla.org/zh-CN/docs/Web/CSS/cursor
 */
export declare type CursorX = 'e' | 'w';
export declare type CursorY = 'n' | 's';
export declare type Cursor = CursorX | CursorY | `${CursorY}${CursorX}`;
export declare type ResizeCursor = `${Cursor}-resize`;
/** 如果cursor存在类似 n-resize、ne-resize，都代表是top 方向 */
export declare const isT: (cursor: ResizeCursor) => boolean;
/** 是否是right */
export declare const isR: (cursor: ResizeCursor) => boolean;
/** 是否是bottom */
export declare const isB: (cursor: ResizeCursor) => boolean;
/** 是否是left */
export declare const isL: (cursor: ResizeCursor) => boolean;
export declare const toPx: (num: number) => string;
export declare const toPercent: (num: number, base?: number) => string;
export declare const toNumber: (str: string) => number;
