import { type AGUIEvent, type Message } from '@ag-ui/core'; import type { ContentBlock } from '@aws-sdk/client-bedrock-runtime'; import { type BedrockCapture } from './bedrock-native'; /** Reads Bedrock native provenance metadata. @internal */ export declare function bedrockMarker(metadata: unknown): Record | undefined; /** Recognizes all provider metadata, including foreign providers and future versions. @internal */ export declare function isBedrockProviderMetadata(metadata: unknown): boolean; /** Matches explicit native result families without treating call completion as success. @internal */ export declare function isBedrockResultTypeCompatible(name: unknown, type: unknown): boolean; /** Creates a complete footer only after native completion and a real canonical owner. @internal */ export declare function createBedrockHistoryFooter(state: BedrockCapture, options: { ownerMessageId?: string; responseId: string; representedMessageIds: readonly string[]; }, normalEOF?: boolean): AGUIEvent | undefined; /** Validated native responses anchored at the earliest represented canonical message. @internal */ export interface BedrockHistoryReplay { readonly responses: ReadonlyMap; readonly representedMessageIds: ReadonlySet; readonly providerCallIds: ReadonlySet; } /** Validates required native fields while retaining owned opaque SDK extension data. @internal */ export declare function readBedrockNativeContent(value: unknown): ContentBlock[]; /** Validates complete capture ownership, native provenance and chronological result identity. @internal */ export declare function readBedrockHistory(messages: readonly Message[]): BedrockHistoryReplay;