import StyleDictionary from 'style-dictionary'; import type { File, FormatFn } from 'style-dictionary/types'; /** Options to get file filters */ interface TargetFileOptions { /** format to apply to the files */ format?: string | FormatFn; /** Root path to calculate the target file */ rootPath?: string; /** Default file if not matching any rule */ defaultFile?: string; /** styleDictionary instance */ styleDictionary?: StyleDictionary; } /** Mapping of the Design Tokens to a given file */ export interface FileRuleNode { /** Indicate the file where to generate the token */ [path: string]: string | FileRuleNode; } /** * Get the list of the target files based of given rule * @param fileRules List of file targets based on token rule * @param options */ export declare const getTargetFiles: (fileRules: FileRuleNode, options?: TargetFileOptions) => File[]; export {}; //# sourceMappingURL=target-file-filter.d.mts.map