export declare enum ErrorCode { unauthenticated = "UNAUTHENTICATED", graphQLValidation = "GRAPHQL_VALIDATION_FAILED", userInputError = "USER_INPUT_ERROR", notFound = "NOT_FOUND", placeId = "PLACE_ID", scopeError = "SCOPE_ERROR", wtf = "WTF", notImplemented = "NOT_IMPLEMENTED", logicError = "LOGIC_ERROR", environmentError = "ENVIRONMENT_ERROR" } export declare class BHError extends Error { readonly code: ErrorCode; constructor(code: ErrorCode, message: string); }