import { Response } from '../../../models/Response.js';
import { Headers } from '../../../lib/headers/Headers.js';
export interface ResponseProcessingContext {
    status: number;
    currentResponse?: Response;
    currentHeaders?: Headers;
    followRedirects: boolean;
    auth?: {
        method: string;
    };
    aborted: boolean;
}
export interface ResponseProcessingResult {
    shouldContinue: boolean;
    action: 'redirect' | 'auth' | 'publish' | 'abort';
    data?: Record<string, unknown>;
}
/**
 * Process the response and determine the next action
 */
export declare function processResponse(context: ResponseProcessingContext): ResponseProcessingResult;
//# sourceMappingURL=ResponseProcessor.d.ts.map