import { CallStack, CallStackJson } from "../Interceptor.types"; export declare enum ValidationErrorMessages { EXPECTED_ARRAY = "Expected an array of CallStack objects", RESOURCE_TYPE_REQUIRED = "resourceType is required", RESOURCE_TYPE_MUST_BE_STRING = "resourceType must be a string", TIME_START_REQUIRED = "timeStart is required", TIME_START_MUST_BE_DATE = "timeStart must be a Date object", URL_REQUIRED = "url is required", URL_MUST_BE_URL = "url must be a URL object", DELAY_MUST_BE_NUMBER = "delay must be a number when provided", DURATION_MUST_BE_NUMBER = "duration must be a number when provided", REQUEST_REQUIRED = "request is required", REQUEST_BODY_REQUIRED = "request.body is required", REQUEST_BODY_MUST_BE_STRING = "request.body must be a string", REQUEST_HEADERS_REQUIRED = "request.headers is required", REQUEST_HEADERS_MUST_BE_OBJECT = "request.headers must be an object", REQUEST_METHOD_REQUIRED = "request.method is required", REQUEST_METHOD_MUST_BE_STRING = "request.method must be a string", REQUEST_QUERY_REQUIRED = "request.query is required", REQUEST_QUERY_MUST_BE_OBJECT = "request.query must be an object", RESPONSE_BODY_REQUIRED = "response.body is required when response exists", RESPONSE_BODY_MUST_BE_STRING = "response.body must be a string", RESPONSE_HEADERS_REQUIRED = "response.headers is required when response exists", RESPONSE_HEADERS_MUST_BE_OBJECT = "response.headers must be an object", RESPONSE_STATUS_CODE_REQUIRED = "response.statusCode is required when response exists", RESPONSE_STATUS_CODE_MUST_BE_NUMBER = "response.statusCode must be a number", RESPONSE_STATUS_TEXT_REQUIRED = "response.statusText is required when response exists", RESPONSE_STATUS_TEXT_MUST_BE_STRING = "response.statusText must be a string" } export declare const createValidationError: (index: number, path: string, message: string) => Error; export declare const convertCallStackJsonToCallStack: (callStackJson: CallStackJson[]) => CallStack[]; export declare const validateStats: (stats: CallStackJson[]) => void;