import {
  HttpHandlerOptions as __HttpHandlerOptions,
  MetricsRecorder as __MetricsRecorder,
  PaginationConfiguration,
  Paginator,
} from "@smithy/types";
import { BedrockRuntimeClient } from "./BedrockRuntimeClient";
import {
  ApplyGuardrailCommandInput,
  ApplyGuardrailCommandOutput,
} from "./commands/ApplyGuardrailCommand";
import { ConverseCommandInput, ConverseCommandOutput } from "./commands/ConverseCommand";
import {
  ConverseStreamCommandInput,
  ConverseStreamCommandOutput,
} from "./commands/ConverseStreamCommand";
import { CountTokensCommandInput, CountTokensCommandOutput } from "./commands/CountTokensCommand";
import {
  GetAsyncInvokeCommandInput,
  GetAsyncInvokeCommandOutput,
} from "./commands/GetAsyncInvokeCommand";
import {
  InvokeGuardrailChecksCommandInput,
  InvokeGuardrailChecksCommandOutput,
} from "./commands/InvokeGuardrailChecksCommand";
import { InvokeModelCommandInput, InvokeModelCommandOutput } from "./commands/InvokeModelCommand";
import {
  InvokeModelWithBidirectionalStreamCommandInput,
  InvokeModelWithBidirectionalStreamCommandOutput,
} from "./commands/InvokeModelWithBidirectionalStreamCommand";
import {
  InvokeModelWithResponseStreamCommandInput,
  InvokeModelWithResponseStreamCommandOutput,
} from "./commands/InvokeModelWithResponseStreamCommand";
import {
  ListAsyncInvokesCommandInput,
  ListAsyncInvokesCommandOutput,
} from "./commands/ListAsyncInvokesCommand";
import {
  StartAsyncInvokeCommandInput,
  StartAsyncInvokeCommandOutput,
} from "./commands/StartAsyncInvokeCommand";
export interface BedrockRuntimeRequestOptions extends __HttpHandlerOptions {
  metricsRecorder?: __MetricsRecorder<unknown>;
}
export interface BedrockRuntime {
  applyGuardrail(
    args: ApplyGuardrailCommandInput,
    options?: BedrockRuntimeRequestOptions,
  ): Promise<ApplyGuardrailCommandOutput>;
  applyGuardrail(
    args: ApplyGuardrailCommandInput,
    cb: (err: any, data?: ApplyGuardrailCommandOutput) => void,
  ): void;
  applyGuardrail(
    args: ApplyGuardrailCommandInput,
    options: BedrockRuntimeRequestOptions,
    cb: (err: any, data?: ApplyGuardrailCommandOutput) => void,
  ): void;
  converse(
    args: ConverseCommandInput,
    options?: BedrockRuntimeRequestOptions,
  ): Promise<ConverseCommandOutput>;
  converse(args: ConverseCommandInput, cb: (err: any, data?: ConverseCommandOutput) => void): void;
  converse(
    args: ConverseCommandInput,
    options: BedrockRuntimeRequestOptions,
    cb: (err: any, data?: ConverseCommandOutput) => void,
  ): void;
  converseStream(
    args: ConverseStreamCommandInput,
    options?: BedrockRuntimeRequestOptions,
  ): Promise<ConverseStreamCommandOutput>;
  converseStream(
    args: ConverseStreamCommandInput,
    cb: (err: any, data?: ConverseStreamCommandOutput) => void,
  ): void;
  converseStream(
    args: ConverseStreamCommandInput,
    options: BedrockRuntimeRequestOptions,
    cb: (err: any, data?: ConverseStreamCommandOutput) => void,
  ): void;
  countTokens(
    args: CountTokensCommandInput,
    options?: BedrockRuntimeRequestOptions,
  ): Promise<CountTokensCommandOutput>;
  countTokens(
    args: CountTokensCommandInput,
    cb: (err: any, data?: CountTokensCommandOutput) => void,
  ): void;
  countTokens(
    args: CountTokensCommandInput,
    options: BedrockRuntimeRequestOptions,
    cb: (err: any, data?: CountTokensCommandOutput) => void,
  ): void;
  getAsyncInvoke(
    args: GetAsyncInvokeCommandInput,
    options?: BedrockRuntimeRequestOptions,
  ): Promise<GetAsyncInvokeCommandOutput>;
  getAsyncInvoke(
    args: GetAsyncInvokeCommandInput,
    cb: (err: any, data?: GetAsyncInvokeCommandOutput) => void,
  ): void;
  getAsyncInvoke(
    args: GetAsyncInvokeCommandInput,
    options: BedrockRuntimeRequestOptions,
    cb: (err: any, data?: GetAsyncInvokeCommandOutput) => void,
  ): void;
  invokeGuardrailChecks(
    args: InvokeGuardrailChecksCommandInput,
    options?: BedrockRuntimeRequestOptions,
  ): Promise<InvokeGuardrailChecksCommandOutput>;
  invokeGuardrailChecks(
    args: InvokeGuardrailChecksCommandInput,
    cb: (err: any, data?: InvokeGuardrailChecksCommandOutput) => void,
  ): void;
  invokeGuardrailChecks(
    args: InvokeGuardrailChecksCommandInput,
    options: BedrockRuntimeRequestOptions,
    cb: (err: any, data?: InvokeGuardrailChecksCommandOutput) => void,
  ): void;
  invokeModel(
    args: InvokeModelCommandInput,
    options?: BedrockRuntimeRequestOptions,
  ): Promise<InvokeModelCommandOutput>;
  invokeModel(
    args: InvokeModelCommandInput,
    cb: (err: any, data?: InvokeModelCommandOutput) => void,
  ): void;
  invokeModel(
    args: InvokeModelCommandInput,
    options: BedrockRuntimeRequestOptions,
    cb: (err: any, data?: InvokeModelCommandOutput) => void,
  ): void;
  invokeModelWithBidirectionalStream(
    args: InvokeModelWithBidirectionalStreamCommandInput,
    options?: BedrockRuntimeRequestOptions,
  ): Promise<InvokeModelWithBidirectionalStreamCommandOutput>;
  invokeModelWithBidirectionalStream(
    args: InvokeModelWithBidirectionalStreamCommandInput,
    cb: (err: any, data?: InvokeModelWithBidirectionalStreamCommandOutput) => void,
  ): void;
  invokeModelWithBidirectionalStream(
    args: InvokeModelWithBidirectionalStreamCommandInput,
    options: BedrockRuntimeRequestOptions,
    cb: (err: any, data?: InvokeModelWithBidirectionalStreamCommandOutput) => void,
  ): void;
  invokeModelWithResponseStream(
    args: InvokeModelWithResponseStreamCommandInput,
    options?: BedrockRuntimeRequestOptions,
  ): Promise<InvokeModelWithResponseStreamCommandOutput>;
  invokeModelWithResponseStream(
    args: InvokeModelWithResponseStreamCommandInput,
    cb: (err: any, data?: InvokeModelWithResponseStreamCommandOutput) => void,
  ): void;
  invokeModelWithResponseStream(
    args: InvokeModelWithResponseStreamCommandInput,
    options: BedrockRuntimeRequestOptions,
    cb: (err: any, data?: InvokeModelWithResponseStreamCommandOutput) => void,
  ): void;
  listAsyncInvokes(): Promise<ListAsyncInvokesCommandOutput>;
  listAsyncInvokes(
    args: ListAsyncInvokesCommandInput,
    options?: BedrockRuntimeRequestOptions,
  ): Promise<ListAsyncInvokesCommandOutput>;
  listAsyncInvokes(
    args: ListAsyncInvokesCommandInput,
    cb: (err: any, data?: ListAsyncInvokesCommandOutput) => void,
  ): void;
  listAsyncInvokes(
    args: ListAsyncInvokesCommandInput,
    options: BedrockRuntimeRequestOptions,
    cb: (err: any, data?: ListAsyncInvokesCommandOutput) => void,
  ): void;
  startAsyncInvoke(
    args: StartAsyncInvokeCommandInput,
    options?: BedrockRuntimeRequestOptions,
  ): Promise<StartAsyncInvokeCommandOutput>;
  startAsyncInvoke(
    args: StartAsyncInvokeCommandInput,
    cb: (err: any, data?: StartAsyncInvokeCommandOutput) => void,
  ): void;
  startAsyncInvoke(
    args: StartAsyncInvokeCommandInput,
    options: BedrockRuntimeRequestOptions,
    cb: (err: any, data?: StartAsyncInvokeCommandOutput) => void,
  ): void;
  paginateListAsyncInvokes(
    args?: ListAsyncInvokesCommandInput,
    paginationConfig?: Pick<
      PaginationConfiguration,
      Exclude<keyof PaginationConfiguration, "client">
    >,
  ): Paginator<ListAsyncInvokesCommandOutput>;
}
export declare class BedrockRuntime extends BedrockRuntimeClient implements BedrockRuntime {}
