import { HttpHandlerOptions as __HttpHandlerOptions, 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 { 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 BedrockRuntime { applyGuardrail( args: ApplyGuardrailCommandInput, options?: __HttpHandlerOptions ): Promise; applyGuardrail( args: ApplyGuardrailCommandInput, cb: (err: any, data?: ApplyGuardrailCommandOutput) => void ): void; applyGuardrail( args: ApplyGuardrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ApplyGuardrailCommandOutput) => void ): void; converse( args: ConverseCommandInput, options?: __HttpHandlerOptions ): Promise; converse( args: ConverseCommandInput, cb: (err: any, data?: ConverseCommandOutput) => void ): void; converse( args: ConverseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ConverseCommandOutput) => void ): void; converseStream( args: ConverseStreamCommandInput, options?: __HttpHandlerOptions ): Promise; converseStream( args: ConverseStreamCommandInput, cb: (err: any, data?: ConverseStreamCommandOutput) => void ): void; converseStream( args: ConverseStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ConverseStreamCommandOutput) => void ): void; countTokens( args: CountTokensCommandInput, options?: __HttpHandlerOptions ): Promise; countTokens( args: CountTokensCommandInput, cb: (err: any, data?: CountTokensCommandOutput) => void ): void; countTokens( args: CountTokensCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CountTokensCommandOutput) => void ): void; getAsyncInvoke( args: GetAsyncInvokeCommandInput, options?: __HttpHandlerOptions ): Promise; getAsyncInvoke( args: GetAsyncInvokeCommandInput, cb: (err: any, data?: GetAsyncInvokeCommandOutput) => void ): void; getAsyncInvoke( args: GetAsyncInvokeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAsyncInvokeCommandOutput) => void ): void; invokeModel( args: InvokeModelCommandInput, options?: __HttpHandlerOptions ): Promise; invokeModel( args: InvokeModelCommandInput, cb: (err: any, data?: InvokeModelCommandOutput) => void ): void; invokeModel( args: InvokeModelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvokeModelCommandOutput) => void ): void; invokeModelWithBidirectionalStream( args: InvokeModelWithBidirectionalStreamCommandInput, options?: __HttpHandlerOptions ): Promise; invokeModelWithBidirectionalStream( args: InvokeModelWithBidirectionalStreamCommandInput, cb: ( err: any, data?: InvokeModelWithBidirectionalStreamCommandOutput ) => void ): void; invokeModelWithBidirectionalStream( args: InvokeModelWithBidirectionalStreamCommandInput, options: __HttpHandlerOptions, cb: ( err: any, data?: InvokeModelWithBidirectionalStreamCommandOutput ) => void ): void; invokeModelWithResponseStream( args: InvokeModelWithResponseStreamCommandInput, options?: __HttpHandlerOptions ): Promise; invokeModelWithResponseStream( args: InvokeModelWithResponseStreamCommandInput, cb: (err: any, data?: InvokeModelWithResponseStreamCommandOutput) => void ): void; invokeModelWithResponseStream( args: InvokeModelWithResponseStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvokeModelWithResponseStreamCommandOutput) => void ): void; listAsyncInvokes(): Promise; listAsyncInvokes( args: ListAsyncInvokesCommandInput, options?: __HttpHandlerOptions ): Promise; listAsyncInvokes( args: ListAsyncInvokesCommandInput, cb: (err: any, data?: ListAsyncInvokesCommandOutput) => void ): void; listAsyncInvokes( args: ListAsyncInvokesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAsyncInvokesCommandOutput) => void ): void; startAsyncInvoke( args: StartAsyncInvokeCommandInput, options?: __HttpHandlerOptions ): Promise; startAsyncInvoke( args: StartAsyncInvokeCommandInput, cb: (err: any, data?: StartAsyncInvokeCommandOutput) => void ): void; startAsyncInvoke( args: StartAsyncInvokeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartAsyncInvokeCommandOutput) => void ): void; paginateListAsyncInvokes( args?: ListAsyncInvokesCommandInput, paginationConfig?: Pick< PaginationConfiguration, Exclude > ): Paginator; } export declare class BedrockRuntime extends BedrockRuntimeClient implements BedrockRuntime {}