import type { RunInput, SessionAuthContext } from "#channel/types.js"; import { INVOCATION_OWNER_ATTRIBUTE, INVOCATION_TOKEN_ATTRIBUTE } from "#internal/invocation/attributes.js"; export { INVOCATION_OWNER_ATTRIBUTE, INVOCATION_TOKEN_ATTRIBUTE }; type ExternalInvocationMetadata = NonNullable; /** Batch-scoped request id exposed to MCP clients for one durable pending-input event. */ export declare function invocationInputRequestId(pendingBatchId: string, requestId: string): string; /** Fixed-width fingerprint used to bind an invocation to its initiating principal. */ export declare function invocationOwnerKey(auth: SessionAuthContext | null): string; export declare function buildInvocationAttributes(metadata: ExternalInvocationMetadata): Readonly>;