/**
 * Error.cause detail.
 * @deprecated use @devvit/shared-types/CircuitBreaker.ts
 * */
export type CircuitBreakCause = {
    /** API method called that failed. Eg, UserDataByAccountIds. */
    method: string | undefined;
    stack: string | undefined;
};
/**
 * @deprecated use @devvit/shared-types/CircuitBreaker.ts
 */
export declare const CIRCUIT_BREAKER_MSG: "ServerCallRequired";
/**
 * @arg method API method called for debugging. Eg, UserDataByAccountIds.
 * @deprecated use @devvit/shared-types/CircuitBreaker.ts
 * */
export declare function CircuitBreak(method: string | undefined): Error;
/**
 * @deprecated use @devvit/shared-types/CircuitBreaker.ts
 */
export declare class CircuitBreakerResponse extends Error {
    readonly response: unknown | undefined;
    readonly cause: CircuitBreakCause;
    constructor(response: unknown, cause: CircuitBreakCause);
}
/**
 * @deprecated use @devvit/shared-types/CircuitBreaker.ts
 */
export declare function isCircuitBreaker(err: Error | CircuitBreakerResponse | unknown): err is CircuitBreakerResponse;
//# sourceMappingURL=CircuitBreaker.d.ts.map