import { type Manifest, type SandboxPathGrant } from '@openai/agents-core/sandbox'; import { posixDirname, shellQuote } from '@openai/agents-core/sandbox/internal'; import type { RemoteSandboxPathOptions } from './types'; export { posixDirname, shellQuote }; export type RemotePathCommandResult = { status: number; stdout?: string; stderr?: string; }; export type ValidateRemoteSandboxPathArgs = { root: string; path?: string; options?: ValidateRemoteSandboxPathOptions; runCommand(command: string): Promise; }; export type ValidateRemoteSandboxPathOptions = RemoteSandboxPathOptions & { extraPathGrants?: SandboxPathGrant[]; }; export type ValidateRemoteSandboxPathForManifestArgs = Omit & { manifest: Manifest; options?: RemoteSandboxPathOptions; }; export declare function resolveSandboxAbsolutePath(root: string, path?: string, options?: ValidateRemoteSandboxPathOptions): string; export declare function validateRemoteSandboxPath({ root, path, options, runCommand, }: ValidateRemoteSandboxPathArgs): Promise; export declare function resolveRemoteSandboxEffectivePath(args: { path: string; runCommand(command: string): Promise; }): Promise; export declare function validateRemoteSandboxPathForManifest({ manifest, path, options, runCommand, }: ValidateRemoteSandboxPathForManifestArgs): Promise; export declare function resolveSandboxRelativePath(root: string, path?: string): string; export declare function resolveSandboxWorkdir(root: string, path?: string): string;