import { a as EnvActor, o as EnvBridge, t as EnvAccessContext } from "../bridge-Cs9YfQWk.js"; //#region src/internal/connections.d.ts /** * Internal to `@vite-hub/connections`. Call it only after the Connection access policy allows the call. * The context works on one bridge, for one Connection token key and one permission. */ export declare function connectionEnvAccess(bridge: EnvBridge, input: { actor: EnvActor; name: string; permission: "activity" | "replace" | "use"; traceId?: string; invocationId?: string; }): EnvAccessContext; /** Return the actor of a context that Env created. Other values fail with `ENV_BRIDGE_UNTRUSTED`. */ export declare function envAccessActor(context: EnvAccessContext): EnvActor; /** The registered Agents that the Agent of a context extends, nearest first. Other contexts fail with `ENV_BRIDGE_UNTRUSTED`. */ export declare function envAccessAgentParents(context: EnvAccessContext): string[]; //#endregion