import { FilterPattern } from 'unplugin-utils'; interface Options { include?: FilterPattern; exclude?: FilterPattern; enforce?: "pre" | "post" | undefined; /** * Path to the tsconfig.json file to use for resolving prop, event, model and slot types. * * **Mandatory** if you use references inside `tsconfig.json`. * If so, set it to `tsconfig.app.json`, or any tsconfig file without references. * @default './tsconfig.json' */ tsconfigPath?: string; design?: false | { /** * Design provider name used as a prefix in component JSDoc description design IDs * @example 'design' -> `\/** @designId 123-45 *\/` * @default 'design' */ type: string /** * Function to generate the design URL * @param id the design ID * @default (id) => id * @returns the design URL */ getUrl: (id: string) => string }; } type Overwrite< T, U > = Pick> & U; type RemoveFalse = T extends false ? never : T; type OptionsResolved = Overwrite<{ [key in keyof Options]-? : RemoveFalse }, Pick>; export type { Options as O, OptionsResolved as a };