import type { RateLimiterResult } from './rate-limiter.ts';
/**
 * A rate limit was hit
 */
export declare class RateLimitError extends Error {
    remainingPoints: number;
    msBeforeNext: number;
    consumedPoints: number;
    isFirstInDuration: boolean;
    constructor(message: string | undefined, props: RateLimiterResult);
}
export declare class QueueFullError extends Error {
    static name: string;
    constructor(message?: string);
}
export declare class UnexpectedEOFError extends Error {
    static name: string;
    name: string;
}
export declare class MaxEarlyStreamsError extends Error {
    static name: string;
    name: string;
}
export declare class StreamClosedError extends Error {
    static name: string;
    name: string;
}
//# sourceMappingURL=errors.d.ts.map