import { type NativeInteraction, type NativeInteractionResponse, type CodexNativeTurn } from "./codex-native-types.js"; export declare function parseNativeRequest(raw: Record): NativeInteraction | null; export declare function nativeResponse(interaction: NativeInteraction, response: NativeInteractionResponse): Record; export declare function buildNativeAsyncReply(interaction: NativeInteraction, answer: string): string; /** Preview comes from the same native item as the pending approval, never a nearby diff. */ export declare function hydrateNativeFileApproval(interaction: NativeInteraction, turns: CodexNativeTurn[], liveItem?: CodexNativeTurn["items"][number]): NativeInteraction;