export declare const LINKING_ERROR: string;
export declare enum ErrorCode {
    user_canceled = "user_canceled",
    no_credential = "no_credential",
    token_not_set = "token_not_set",
    token_required = "token_required",
    token_invalid = "token_invalid"
}
export declare function handleErrorCodes(ex: any): ErrorResponse;
interface ErrorResponse {
    error: string;
    errorCode: string;
}
export {};
//# sourceMappingURL=error.d.ts.map