import type { PolicyHandlerPerfStats } from "./perf.js"; import type { PolicyInstance, PolicyName } from "./policy.js"; export type ExcludedPolicyFileMap = Map; /** * Contextual data available to all Repopo commands. */ export interface RepopoCommandContext { /** * A list of regular expressions used to exclude files from all handlers. */ excludeFromAll: RegExp[]; /** * A list of handlers to apply to selected files. */ policies: PolicyInstance[]; /** * A per-handler list of regular expressions used to exclude files from specific handlers. */ excludePoliciesForFiles: ExcludedPolicyFileMap; /** * Path to the root of the git repo. */ gitRoot: string; /** * Stores performance data for each handler. Used to collect and display performance stats. */ perfStats: PolicyHandlerPerfStats; } //# sourceMappingURL=context.d.ts.map