import ignore from 'ignore';
/**
 * Create a combined gitignore checker that respects the hierarchy
 */
export declare function createGitignoreChecker(directory: string): Promise<(filePath: string) => boolean>;
/**
 * Legacy function for backward compatibility
 */
export declare function loadGitignore(directory: string): Promise<ReturnType<typeof ignore> | null>;
//# sourceMappingURL=gitignore.d.ts.map