import { SpecifyErrorKey } from '../../errors/specifyErrors.js'; import { MessageLocation } from '../../common/messageLocation.js'; type HttpBaseMessage = { content: string; location?: MessageLocation | undefined; }; export type HttpResponseInformationMessage = { type: 'information'; } & HttpBaseMessage; export declare function makeHttpResponseInformationMessage(content: string, location?: MessageLocation): HttpResponseInformationMessage; export type HttpResponseWarningMessage = { type: 'warning'; errorKey: SpecifyErrorKey; } & HttpBaseMessage; export declare function makeHttpResponseWarningMessage(errorKey: SpecifyErrorKey, content: string, location?: MessageLocation): HttpResponseWarningMessage; export type HttpResponseErrorMessage = { type: 'error'; errorKey: SpecifyErrorKey; } & HttpBaseMessage; export declare function makeHttpResponseErrorMessage(errorKey: SpecifyErrorKey, content: string, location?: MessageLocation): HttpResponseErrorMessage; export type HttpResponseMessage = HttpResponseInformationMessage | HttpResponseWarningMessage | HttpResponseErrorMessage; export {}; //# sourceMappingURL=httpResponseMessage.d.ts.map