export type EgressConfig = readonly string[] | "all" | undefined; /** The slice of a sandbox adapter this seam touches (structural on purpose — * `SandboxAdapterLike` in harnesses and `SandboxAdapter` in apps both fit). */ interface CreatesBoxes { create(spec: { template?: string; env: Record; allowedDomains?: string[]; }): Promise; } export declare function resolveEgress(config: EgressConfig): string[] | "all" | undefined; export declare function withEgress(sandbox: A, config: EgressConfig, onBoxBoot: (domains: string[] | "all") => Promise | void): A; export {};