/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import { MatterError } from "@matter/general"; import { RemoteInterface } from "../remote/RemoteInterface.js"; /** * HTTP remote interface. */ export declare class HttpInterface extends RemoteInterface { #private; static protocol: string; protected start(): Promise; protected stop(): Promise; } export declare class UnnacceptableError extends MatterError { } export declare class UnsupportedRequestContentTypeError extends MatterError { } declare const StatusCode: { 200: string; 400: string; 401: string; 404: string; 405: string; 406: string; 415: string; 500: string; }; export type HttpStatusCode = keyof typeof StatusCode; export declare const JSON_CONTENT_TYPE = "application/json"; export declare const JSONL_CONTENT_TYPE = "application/jsonl"; export declare const TLV_CONTENT_TYPE = "application/matter-tlv"; export {}; //# sourceMappingURL=HttpInterface.d.ts.map