import type { Processor, ProcessAPIErrorArgs, ProcessAPIErrorResult } from './index.js';
export type StreamErrorRetryMatcher = (error: unknown) => boolean;
export type StreamErrorRetryProcessorOptions = {
    maxRetries?: number;
    matchers?: StreamErrorRetryMatcher[];
};
export declare function isRetryableOpenAIResponsesStreamError(error: unknown): boolean;
export declare class StreamErrorRetryProcessor implements Processor<'stream-error-retry-processor'> {
    #private;
    readonly id: "stream-error-retry-processor";
    readonly name = "Stream Error Retry Processor";
    constructor(options?: StreamErrorRetryProcessorOptions);
    processAPIError({ error, retryCount }: ProcessAPIErrorArgs): Promise<ProcessAPIErrorResult | void>;
}
//# sourceMappingURL=stream-error-retry-processor.d.ts.map