import { RpcProtocol } from "@smithy/core/protocols"; import { Codec, EndpointBearer, HandlerExecutionContext, HttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, SerdeFunctions, } from "@smithy/types"; import { XmlShapeDeserializer } from "../xml/XmlShapeDeserializer"; import { QueryShapeSerializer } from "./QueryShapeSerializer"; export declare class AwsQueryProtocol extends RpcProtocol { options: { defaultNamespace: string; xmlNamespace: string; version: string; }; protected serializer: QueryShapeSerializer; protected deserializer: XmlShapeDeserializer; private readonly mixin; constructor(options: { defaultNamespace: string; xmlNamespace: string; version: string; }); getShapeId(): string; setSerdeContext(serdeContext: SerdeFunctions): void; getPayloadCodec(): Codec; serializeRequest( operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer ): Promise; deserializeResponse( operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse ): Promise; protected useNestedResult(): boolean; protected handleError( operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any, metadata: ResponseMetadata ): Promise; protected loadQueryErrorCode( output: IHttpResponse, data: any ): string | undefined; protected loadQueryError(data: any): any | undefined; protected loadQueryErrorMessage(data: any): string; protected getDefaultContentType(): string; }