export interface SharedFileMount { sourcePath: string; destPath: string; mode?: string; } export interface SharedFileMountResult { destPath: string; status: 'applied' | 'skipped' | 'failed' | 'removed'; error?: string; } export interface SharedFileMountDeps { /** 共有ファイルを取り寄せて指定パスへ書き出す(api クライアント経由) */ downloadToFile: (sourcePath: string, destination: string) => Promise; /** エージェント自身の設定ディレクトリ(配置先として禁止する) */ configDir: string; } /** * 配置先パスが安全かを判定する。 * * 規則は api 側の `assertSafeMountDestination` と同一に保つこと(片方だけ緩めると、 * 保存できるのに適用されない、または逆の非対称が生じる)。加えてエージェント自身の * 設定ディレクトリ配下を禁止する。 */ export declare function isSafeMountDestination(destPath: string, configDir: string): boolean; export declare function applySharedFileMounts(mounts: SharedFileMount[] | undefined, deps: SharedFileMountDeps): Promise; //# sourceMappingURL=shared-file-mounts.d.ts.map