/**
 * Factory reset for Claude Code agent
 * Discovers and removes all Claude Code configuration from the ancestor directory tree
 */
export type ClaudeCodeArtifact = {
    path: string;
    type: "directory" | "file";
};
/**
 * Walk up the ancestor tree from startDir and find all .claude directories
 * and CLAUDE.md files.
 *
 * @param args - Configuration arguments
 * @param args.startDir - Directory to start searching from
 * @param args.stopDir - Directory to stop searching at (inclusive). If null, climbs to filesystem root.
 *
 * @returns Array of artifacts found, ordered from startDir upward
 */
export declare const findClaudeCodeArtifacts: (args: {
    startDir: string;
    stopDir?: string | null;
}) => Promise<Array<ClaudeCodeArtifact>>;
/**
 * Factory reset Claude Code: discover all configuration artifacts in the
 * ancestor tree and delete them after user confirmation.
 *
 * @param args - Configuration arguments
 * @param args.path - Directory to start searching from
 */
export declare const factoryResetClaudeCode: (args: {
    path: string;
}) => Promise<void>;
//# sourceMappingURL=factoryReset.d.ts.map