/** * @fileoverview Options translator: minimatch options -> picomatch options * * This module handles the translation of minimatch options to picomatch options. * Since minimatch-fast uses picomatch as its matching engine, we need to map * the options from minimatch's API to picomatch's API. * * Key differences between minimatch and picomatch options: * - noext (minimatch) -> noextglob (picomatch) * - matchBase (minimatch) -> basename (picomatch) * * Some options are handled specially and not passed to picomatch: * - nocomment: Comment patterns (handled in Minimatch class) * - nonull: Return pattern when no matches (handled in match function) * - flipNegate: Invert negation result (handled in match function) * * @author 686f6c61 * @see https://github.com/686f6c61/minimatch-fast * @license MIT */ import type { MinimatchOptions, PicomatchOptions } from './types.js'; /** * Translate minimatch options to picomatch options * Handles naming differences and sets appropriate defaults */ export declare function translateOptions(opts?: MinimatchOptions): { picoOpts: PicomatchOptions; }; //# sourceMappingURL=options.d.ts.map