import { withSandboxSpan, type SandboxArchiveLimits, type SandboxConcurrencyLimits, type SnapshotSpec } from '@openai/agents-core/sandbox'; export { withSandboxSpan }; /** Select and validate the creation policy before allocating provider resources. */ export declare function resolveCreateArchiveLimits(override: SandboxArchiveLimits | null | undefined, options: SandboxArchiveLimits | null | undefined, defaults: SandboxArchiveLimits | null | undefined): SandboxArchiveLimits | null | undefined; export declare function closeRemoteSessionOnManifestError(providerName: string, session: { close(): Promise; }, manifestError: unknown): Promise; export declare function assertRunAsUnsupported(providerName: string, runAs?: string): void; export declare function assertCoreSnapshotUnsupported(providerName: string, snapshot?: SnapshotSpec): void; export declare function assertCoreConcurrencyLimitsUnsupported(providerName: string, limits?: SandboxConcurrencyLimits): void; export declare function withProviderError(providerName: string, provider: string, operation: string, fn: () => Promise, context?: Record, options?: { redactProviderError?: boolean; }): Promise; export declare function isProviderSandboxNotFoundError(error: unknown): boolean; export type ResumeRecreateErrorContext = { providerName: string; provider: string; details?: Record; }; export declare function assertResumeRecreateAllowed(error: unknown, context: ResumeRecreateErrorContext): void; export declare function providerErrorMessage(error: unknown): string; export declare function providerErrorDetails(error: unknown): Record; export declare function providerErrorRetryability(error: unknown): boolean | null;