import { type RuntimeCallOptions } from '../runtime/browser.js';
import { type AiRoutePolicy } from '../types/index.js';
import { type RuntimeDefaults } from './types.js';
export declare function ensureText(value: unknown, fieldName: string): string;
export declare function fromRouteDecision(value: unknown): AiRoutePolicy;
export declare function concatChunks(chunks: Uint8Array[]): Uint8Array;
export declare function toCallOptions(defaults: RuntimeDefaults, input: {
    timeoutMs?: number;
    metadata?: RuntimeCallOptions['metadata'];
}): RuntimeCallOptions;
export declare function ensureSafeExternalMediaUrl(value: unknown, fieldName: string): string;
//# sourceMappingURL=helpers-shared.d.ts.map