export type OutboundMediaReadFile = (filePath: string) => Promise; export type OutboundMediaAccess = { localRoots?: readonly string[]; readFile?: OutboundMediaReadFile; /** Agent workspace directory for resolving relative MEDIA: paths. */ workspaceDir?: string; }; export type OutboundMediaLoadParams = { maxBytes?: number; mediaAccess?: OutboundMediaAccess; mediaLocalRoots?: readonly string[]; mediaReadFile?: OutboundMediaReadFile; optimizeImages?: boolean; /** Agent workspace directory for resolving relative MEDIA: paths. */ workspaceDir?: string; }; export type OutboundMediaLoadOptions = { maxBytes?: number; localRoots?: readonly string[] | "any"; readFile?: (filePath: string) => Promise; hostReadCapability?: boolean; optimizeImages?: boolean; /** Agent workspace directory for resolving relative MEDIA: paths. */ workspaceDir?: string; }; export declare function resolveOutboundMediaLocalRoots(mediaLocalRoots?: readonly string[]): readonly string[] | undefined; export declare function resolveOutboundMediaAccess(params?: { mediaAccess?: OutboundMediaAccess; mediaLocalRoots?: readonly string[]; mediaReadFile?: OutboundMediaReadFile; }): OutboundMediaAccess | undefined; export declare function buildOutboundMediaLoadOptions(params?: OutboundMediaLoadParams): OutboundMediaLoadOptions;