import { ApplianceNames } from 'white-web-sdk';
export interface OSSConfig {
    accessKeyId: string;
    accessKeySecret: string;
    endpoint: string;
    bucket: string;
    folder: string;
}
/**
 * 每间隔num次执行fn
 * @param fn
 * @param num 间隔次数
 * @param config
 */
export declare function intervalFn(fn: Function, num: number, config?: {
    immediate: boolean;
}): (...args: any) => void;
export declare function copyText(text: string): void;
export declare function sleep(number: number): Promise<unknown>;
export declare function CustomBtoa(input: any): string;
export declare const debounce: (foo: any, t: number) => () => void;
export declare const getDeviceLabelFromStorage: (type: string) => any;
export declare const isElectron: boolean;
export declare const platform: string;
export declare const transLineTool: {
    pen: string;
    square: string;
    circle: string;
    line: string;
    pencil: string;
    rectangle: string;
    ellipse: string;
    straight: string;
};
export declare const transToolBar: {
    pen: ApplianceNames;
    square: ApplianceNames;
    circle: ApplianceNames;
    line: ApplianceNames;
    selection: ApplianceNames;
    text: ApplianceNames;
    hand: ApplianceNames;
    eraser: ApplianceNames;
    laserPointer: ApplianceNames;
    pencil: ApplianceNames;
    rectangle: ApplianceNames;
    ellipse: ApplianceNames;
    straight: ApplianceNames;
    arrow: ApplianceNames;
    selector: ApplianceNames;
};
export declare const mapToolBar: any;
