import type { OpenAPIResponse, Referenced } from '../types/index.js';
import type { OpenAPIParser, Options } from '../services/index.js';
import type { ResponseModel, OperationModel } from './types.js';
type ResponseProps = {
    parser: OpenAPIParser;
    code: string;
    defaultAsError: boolean;
    infoOrRef: Referenced<OpenAPIResponse>;
    options: Options;
    operation: OperationModel;
    isEvent?: boolean;
};
export declare function getResponse({ parser, code, defaultAsError, infoOrRef, options, isEvent, operation, }: ResponseProps): ResponseModel;
export {};
