/// <reference types="bun-types" />
/// <reference types="node" />
type ResponseHeaders = Headers | Record<string, string> | Array<[string, string]>;
export declare function createAnthropicErrorResponse(status: number, type: string, message: string, headers?: ResponseHeaders): Response;
export declare function createAnthropicProxyResponse(response: Response): Promise<Response>;
export declare class ProxySseStreamTransformer {
    transform(response: Response): Promise<Response>;
    error(status: number, type: string, message: string): Response;
}
export {};
//# sourceMappingURL=sse-stream-transformer.d.ts.map