import type { $sentArgs } from '../../../table/constants.js'; import type { Table, TableSendableAction } from '../../../table/table.js'; import { $actionName, $spy } from './constants.js'; import type { TableSpy } from './spy.js'; export interface Error { name: string; message: string; stack?: string; } interface MetadataBearer { $metadata: { httpStatusCode?: number; requestId?: string; extendedRequestId?: string; cfId?: string; attempts?: number; totalRetryDelay?: number; }; } export interface AwsError extends Partial<{ name: string; message: string; stack?: string; }>, Partial { Type?: string; Code?: string; $fault?: 'client' | 'server'; $service?: string; } export declare class TableActionStub> { [$spy]: TableSpy
; [$actionName]: string; constructor(spy: TableSpy
, Action: new (entity: TABLE) => ACTION); resolve(response: Awaited>): TableSpy
; reject(error?: string | Error | AwsError): TableSpy
; mock(mock: (...args: ReturnType) => ReturnType | Awaited> | undefined): TableSpy
; } export {};