/** Destination and credential-free replica routing shared across Temporal boundaries. */ import type { RunTreeConfig, WriteReplica } from 'langsmith/run_trees'; type Destination = Pick; export type ReplicaRouting = Pick; /** Select one destination, clearing the other mode when inheriting an address. */ export declare function destination(preferred?: Destination, fallback?: Destination): Destination; /** Follow LangSmith's header allowlist; clients, credentials and ingestion URLs stay local. */ export declare function replicaRouting(replicas: readonly WriteReplica[] | undefined): ReplicaRouting[] | undefined; /** The Temporal wire format uses Python's spelling; accept native JS headers too. */ export declare function replicaHeaders(replicas: readonly WriteReplica[]): unknown[]; export declare function normalizeReplicaHeaders(baggage: string): string; /** Restore a destination's credentials from the receiving process's own configuration. */ export declare function bindReplicaCredentials(replicas: readonly ReplicaRouting[] | undefined, localReplicas: readonly WriteReplica[] | undefined): WriteReplica[] | undefined; export {};