export interface ReadAgentDotfilesOptions { /** * If provided, also reads `.{agentName}.agentignore` and `.{agentName}.agentreadonly` * from the project directory and merges the resulting patterns. */ agentName?: string; } export interface AgentDotfilePatterns { ignoredPatterns: string[]; readonlyPatterns: string[]; } /** * Read `.agentignore` and `.agentreadonly` dotfiles from a project directory * and return the compiled pattern lists. If `agentName` is supplied, also * reads `.{agentName}.agentignore` and `.{agentName}.agentreadonly` and * appends their patterns. */ export declare function readAgentDotfiles(projectDir: string, options?: ReadAgentDotfilesOptions): AgentDotfilePatterns;