import { EndpointParameters, EndpointV2, HandlerExecutionContext } from "@smithy/types"; import { EndpointResolvedConfig } from "../resolveEndpointConfig"; import { EndpointParameterInstructions } from "../types"; /** * @internal */ export type EndpointParameterInstructionsSupplier = Partial<{ getEndpointParameterInstructions(): EndpointParameterInstructions; }>; /** * This step in the endpoint resolution process is exposed as a function * to allow packages such as signers, lib-upload, etc. to get * the V2 Endpoint associated to an instance of some api operation command * without needing to send it or resolve its middleware stack. * * @internal * @param commandInput - the input of the Command in question. * @param instructionsSupplier - this is typically a Command constructor. A static function supplying the * endpoint parameter instructions will exist for commands in services * having an endpoints ruleset trait. * @param clientConfig - config of the service client. * @param context - optional context. */ export declare const getEndpointFromInstructions: , Config extends Record>(commandInput: CommandInput, instructionsSupplier: EndpointParameterInstructionsSupplier, clientConfig: Partial> & Config, context?: HandlerExecutionContext) => Promise; /** * @internal */ export declare const resolveParams: , Config extends Record>(commandInput: CommandInput, instructionsSupplier: EndpointParameterInstructionsSupplier, clientConfig: Partial> & Config) => Promise;