import { Config } from "stylelint"; //#region src/stylelint/index.d.ts /** * Configuration options for StyleLint code style rules. */ interface StylisticOptions { /** * Default indentation size (number of space characters). * * @default 2 */ indent?: number; /** * The type of the string delimiter character. * * @default 'single' */ quotes?: 'single' | 'double' | 'off'; } /** * Configuration options for linting the entire project with StyleLint. */ interface ProjectOptions { /** * The URL of the project root containing the StyleLint configuration file. * Should usually be set to `import.meta.url`. */ root: string; /** * Glob patterns for all files to be ignored by StyleLint (the patterns must * match files, plain directory names are not supported). */ ignores?: string[]; /** * Path to the template file containing the license header to be used in all * source files. May be a path relative to the project root. */ license?: string; /** * Configuration options for code style. */ stylistic?: StylisticOptions; /** * Additional linter rules to be added to the global configuration. */ rules?: Config['rules']; } /** * Generates a StyleLint configuration object targeting the source files in the * entire project. * * @param options * Plugin configuration options. * * @returns * The configuration object to be exported from `stylelint.config.js`. */ declare function defineConfig(options: ProjectOptions): Config; //#endregion export { ProjectOptions, StylisticOptions, defineConfig }; //# sourceMappingURL=index.d.mts.map