export declare const ERRORS: {
    readonly BEACON_ALREADY_EXISTS: "Beacon is already exists, please ensure to use a unique name per beacon";
    readonly BEACON_DOES_NOT_EXISTS: "Beacon does not exists, make sure to call `register` before trying to set beacon ready hook.";
    readonly BEACON_EXECUTION_FAILED: "Beacon execution failed";
};
export type ActionRetry = () => Promise<unknown>;
export type ActionErrorHandler = (error: ActionExecutionError, retry: ActionRetry) => void;
export declare class ActionExecutionError extends Error {
    name: string;
    stack: string;
    attempt: number;
    failReason: string;
    constructor(name: string, attempt: number, error: Error);
}
export declare const defaultErrorHandler: ActionErrorHandler;
//# sourceMappingURL=error.d.ts.map