export interface ScopedCometHookTargets { projectTargets: string[]; externalTargets: string[]; } /** Runtime 禁写兼容项目相对路径和宿主 cwd 相对路径,不改变普通 phase guard 的归属。 */ export declare function cometHookRuntimeTargetCandidates(projectRoot: string, target: string, cwd?: string): string[]; /** 受管存储即使在项目外也不能写入;同时识别链接别名和尚未创建的目标。 */ export declare function isCometHookTargetWithin(root: string, target: string): Promise; /** Resolve distinct, in-project runtime files before any destination is written. */ export declare function resolveProjectHookDestinations(projectRoot: string, destinations: readonly string[]): Promise; export declare function scopeCometHookTargets(projectRoot: string, targets: readonly string[]): Promise; //# sourceMappingURL=hook-target-scope.d.ts.map