import type { SettingsManager } from "../../../settings-manager.ts";
import type { IdentityMatcher } from "./evaluate.ts";
import type { Ruleset } from "./types.ts";
/** Last matching deny in global, project, CLI order, as used by the tool refusal. */
export declare function findDenyProvenance(settingsManager: SettingsManager, cliRuleset: Ruleset, permission: string, patterns: readonly string[], matchesIdentity?: IdentityMatcher): {
    layer: "global" | "project" | "cli";
    permission: string;
    pattern: string;
    action: string;
    otherLayerDenies: boolean;
} | undefined;
//# sourceMappingURL=deny-provenance.d.ts.map