export interface StandardError extends Error { code: number; errorCode?: number; } /** * Identify if the error was cancelled by the user himself. */ export declare const isCancelError: (error: StandardError | string) => boolean; export declare const isTokenWebView: () => boolean; export declare const callAPI: (...args: unknown[]) => T; export declare const callPromisifyAPI: (...args: unknown[]) => Promise; export declare const getVersion: () => string; export declare const compareSemver: (a?: string, b?: string) => number; export declare const isGreaterThanOrEqualVersion: (version: string) => boolean; export declare const removeHashPrefix: (colors: string | string[]) => string | string[];