/**
 * Agent settings fact extraction - parses settings.json for deny patterns and read-deny coverage.
 */
import type { AgentProfile, AgentFacts, ReadonlyFS } from "../../types.js";
/**
 * Check whether the agent's deny mechanism blocks git commit and/or git push.
 *
 * @param fs - project filesystem adapter used to read settings or hook scripts
 * @param agent - agent profile whose deny mechanism should be inspected
 * @returns git operation coverage detected from the agent's configured guardrail path
 */
export declare function checkDenyPatterns(fs: ReadonlyFS, agent: AgentProfile): {
    gitCommitBlocked: boolean;
    gitPushBlocked: boolean;
};
/** Extract settings facts from supported agent config formats. */
export declare function extractSettingsFacts(fs: ReadonlyFS, agent: AgentProfile): AgentFacts["settings"] & {
    readDenyCoversSecrets: boolean;
};
/** Workspace-root permission entry parsed from Codex TOML settings. */
export interface CodexWorkspaceRootEntry {
    pattern: string;
    mode: string;
}
export declare function collectCodexWorkspaceRootEntries(parsed: unknown, profileName: string): CodexWorkspaceRootEntry[];
//# sourceMappingURL=settings.d.ts.map