import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
import type { StopTrainingSessionRequest, StopTrainingSessionResponse } from "../models/models_5";
/**
 * @public
 */
export type { __MetadataBearer };
/**
 * @public
 *
 * The input for {@link StopTrainingSessionCommand}.
 */
export interface StopTrainingSessionCommandInput extends StopTrainingSessionRequest {
}
/**
 * @public
 *
 * The output of {@link StopTrainingSessionCommand}.
 */
export interface StopTrainingSessionCommandOutput extends StopTrainingSessionResponse, __MetadataBearer {
}
declare const StopTrainingSessionCommand_base: {
    new (input: StopTrainingSessionCommandInput): import("@smithy/core/client").CommandImpl<StopTrainingSessionCommandInput, StopTrainingSessionCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
    new (input: StopTrainingSessionCommandInput): import("@smithy/core/client").CommandImpl<StopTrainingSessionCommandInput, StopTrainingSessionCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
    getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
};
/**
 * <p>Stops a running training session and sets the session status to <code>Stopping</code>. After the session stops, the status changes to <code>Stopped</code>. To delete a stopped session, use the <code>DeleteTrainingSession</code> operation.</p> <p>The following operations are related to <code>StopTrainingSession</code>:</p> <ul> <li> <p> <code>CreateTrainingSession</code> </p> </li> <li> <p> <code>DescribeTrainingSession</code> </p> </li> <li> <p> <code>DeleteTrainingSession</code> </p> </li> </ul>
 * @example
 * Use a bare-bones client and the command you need to make an API call.
 * ```javascript
 * import { SageMakerClient, StopTrainingSessionCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
 * // const { SageMakerClient, StopTrainingSessionCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
 * // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker";
 * const config = {}; // type is SageMakerClientConfig
 * const client = new SageMakerClient(config);
 * const input = { // StopTrainingSessionRequest
 *   TrainingSessionName: "STRING_VALUE", // required
 * };
 * const command = new StopTrainingSessionCommand(input);
 * const response = await client.send(command);
 * // {};
 *
 * ```
 *
 * @param StopTrainingSessionCommandInput - {@link StopTrainingSessionCommandInput}
 * @returns {@link StopTrainingSessionCommandOutput}
 * @see {@link StopTrainingSessionCommandInput} for command's `input` shape.
 * @see {@link StopTrainingSessionCommandOutput} for command's `response` shape.
 * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
 *
 * @throws {@link ResourceNotFound} (client fault)
 *  <p>Resource being access is not found.</p>
 *
 * @throws {@link SageMakerServiceException}
 * <p>Base exception class for all service exceptions from SageMaker service.</p>
 *
 *
 * @public
 */
export declare class StopTrainingSessionCommand extends StopTrainingSessionCommand_base {
    /** @internal type navigation helper, not in runtime. */
    protected static __types: {
        api: {
            input: StopTrainingSessionRequest;
            output: {};
        };
        sdk: {
            input: StopTrainingSessionCommandInput;
            output: StopTrainingSessionCommandOutput;
        };
    };
}
