export type FileMatcher = string | RegExp | ((file: string) => boolean); export type FindFileOptions = { /** * Whether to ignore a content hash in the filename. * @default true */ ignoreHash?: boolean; }; /** * Find the first file path that matches the provided matcher. */ export declare const findFile: (files: Record, matcher: FileMatcher, options?: FindFileOptions) => string; /** Find all file paths that match the provided matcher. */ export declare const findFiles: (files: Record, matcher: FileMatcher, options?: FindFileOptions) => string[];