import { OxlintConfig } from "oxlint"; //#region configs/oxlint/index.d.ts declare const config: { categories: { correctness: "error"; nursery: "error"; pedantic: "error"; perf: "error"; restriction: "error"; style: "error"; suspicious: "error"; }; jsPlugins: string[]; options: { denyWarnings: true; reportUnusedDisableDirectives: "error"; respectEslintDisableDirectives: false; typeAware: true; typeCheck: true; }; overrides: ({ files: string[]; rules: { "unicorn/require-module-specifiers": "off"; "typescript/no-unsafe-assignment"?: never; "typescript/no-unsafe-call"?: never; "typescript/no-unsafe-member-access"?: never; "typescript/no-unsafe-return"?: never; "vitest/consistent-test-it"?: never; "vitest/max-expects"?: never; "vitest/no-hooks"?: never; "vitest/no-importing-vitest-globals"?: never; "vitest/prefer-expect-assertions"?: never; "vitest/prefer-to-be-falsy"?: never; "vitest/prefer-to-be-truthy"?: never; "vitest/require-mock-type-parameters"?: never; "vitest/require-test-timeout"?: never; "vitest/valid-title"?: never; "e18e/prefer-static-regex"?: never; "import/no-anonymous-default-export"?: never; "import/no-default-export"?: never; "react/forbid-component-props"?: never; }; plugins?: never; } | { files: string[]; rules: { "unicorn/require-module-specifiers"?: never; "typescript/no-unsafe-assignment": "off"; "typescript/no-unsafe-call": "off"; "typescript/no-unsafe-member-access": "off"; "typescript/no-unsafe-return": "off"; "vitest/consistent-test-it"?: never; "vitest/max-expects"?: never; "vitest/no-hooks"?: never; "vitest/no-importing-vitest-globals"?: never; "vitest/prefer-expect-assertions"?: never; "vitest/prefer-to-be-falsy"?: never; "vitest/prefer-to-be-truthy"?: never; "vitest/require-mock-type-parameters"?: never; "vitest/require-test-timeout"?: never; "vitest/valid-title"?: never; "e18e/prefer-static-regex"?: never; "import/no-anonymous-default-export"?: never; "import/no-default-export"?: never; "react/forbid-component-props"?: never; }; plugins?: never; } | { files: string[]; plugins: "vitest"[]; rules: { "unicorn/require-module-specifiers"?: never; "typescript/no-unsafe-assignment"?: never; "typescript/no-unsafe-call"?: never; "typescript/no-unsafe-member-access"?: never; "typescript/no-unsafe-return"?: never; "vitest/consistent-test-it": ["error", { fn: "test"; withinDescribe: "test"; }]; "vitest/max-expects": "off"; "vitest/no-hooks": "off"; "vitest/no-importing-vitest-globals": "off"; "vitest/prefer-expect-assertions": "off"; "vitest/prefer-to-be-falsy": "off"; "vitest/prefer-to-be-truthy": "off"; "vitest/require-mock-type-parameters": "off"; "vitest/require-test-timeout": "off"; "vitest/valid-title": ["error", { allowArguments: boolean; mustMatch: { test: string; }; }]; "e18e/prefer-static-regex"?: never; "import/no-anonymous-default-export"?: never; "import/no-default-export"?: never; "react/forbid-component-props"?: never; }; } | { plugins?: never; files: string[]; rules: { "unicorn/require-module-specifiers"?: never; "typescript/no-unsafe-assignment"?: never; "typescript/no-unsafe-call"?: never; "typescript/no-unsafe-member-access"?: never; "typescript/no-unsafe-return"?: never; "vitest/consistent-test-it"?: never; "vitest/max-expects"?: never; "vitest/no-hooks"?: never; "vitest/no-importing-vitest-globals"?: never; "vitest/prefer-expect-assertions"?: never; "vitest/prefer-to-be-falsy"?: never; "vitest/prefer-to-be-truthy"?: never; "vitest/require-mock-type-parameters"?: never; "vitest/require-test-timeout"?: never; "vitest/valid-title"?: never; "e18e/prefer-static-regex": "off"; "import/no-anonymous-default-export": "off"; "import/no-default-export": "off"; "react/forbid-component-props": "off"; }; })[]; plugins: ("eslint" | "import" | "jsdoc" | "jsx-a11y" | "node" | "oxc" | "promise" | "react" | "typescript" | "unicorn")[]; rules: { "@stylistic/jsx-pascal-case": "error"; "@stylistic/jsx-self-closing-comp": "error"; "@stylistic/lines-between-class-members": "error"; "@stylistic/multiline-comment-style": "error"; "@stylistic/padded-blocks": ["error", "never"]; "@stylistic/padding-line-between-statements": ["error", { blankLine: "always"; next: "*"; prev: "*"; }, { blankLine: "never"; next: string[]; prev: string[]; }, { blankLine: string; next: string[]; prev: string[]; }, { blankLine: string; next: string[]; prev: string[]; }, { blankLine: string; next: string[]; prev: string[]; }, { blankLine: string; next: string[]; prev: string[]; }, { blankLine: string; next: string[]; prev: string[]; }, { blankLine: string; next: string; prev: string; }, { blankLine: string; next: string[]; prev: string[]; }, { blankLine: string; next: string; prev: string[]; }]; "@stylistic/quotes": ["error", "double", { allowTemplateLiterals: "avoidEscape"; avoidEscape: boolean; }]; "@stylistic/spaced-comment": "error"; "arrow-body-style": ["error", "always"]; "class-methods-use-this": "off"; "id-length": "off"; "import/exports-last": "off"; "import/group-exports": "off"; "import/max-dependencies": "off"; "import/no-dynamic-require": "off"; "import/no-named-export": "off"; "import/no-nodejs-modules": "off"; "import/no-relative-parent-imports": "off"; "import/prefer-default-export": "off"; "import/unambiguous": "off"; "init-declarations": "off"; "jsdoc/require-param-type": "off"; "jsdoc/require-property-type": "off"; "jsdoc/require-returns-type": "off"; "max-classes-per-file": "off"; "max-lines": "off"; "max-lines-per-function": "off"; "max-params": "off"; "max-statements": "off"; "nextjs/google-font-display": "error"; "nextjs/google-font-preconnect": "error"; "nextjs/no-sync-scripts": "error"; "nextjs/no-unwanted-polyfillio": "error"; "no-async-await": "off"; "no-await-in-loop": "off"; "no-bitwise": "off"; "no-console": "off"; "no-continue": "off"; "no-duplicate-imports": ["error", { allowSeparateTypeImports: true; }]; "no-inline-comments": "off"; "no-magic-numbers": "off"; "no-optional-chaining": "off"; "no-param-reassign": "off"; "no-plusplus": "off"; "no-rest-spread-properties": "off"; "no-ternary": "off"; "no-undef": "off"; "no-undefined": "off"; "no-underscore-dangle": "off"; "no-use-before-define": "off"; "no-useless-return": "off"; "no-void": "off"; "no-warning-comments": "off"; "node/no-process-env": "off"; "node/no-sync": "off"; "node/no-top-level-await": ["error", { ignoreBin: true; }]; "one-var": "off"; "oxc/no-async-endpoint-handlers": "off"; "perfectionist/sort-imports": "off"; "perfectionist/sort-named-imports": "off"; "prefer-named-capture-group": "off"; "prefer-readonly-parameter-types": "off"; "promise/avoid-new": "off"; "react/function-component-definition": "off"; "react/jsx-filename-extension": ["error", { extensions: string[]; }]; "react/jsx-max-depth": "off"; "react/jsx-no-literals": "off"; "react/jsx-props-no-spreading": "off"; "react/no-multi-comp": "off"; "react/only-export-components": "off"; "react/prefer-function-component": ["error", { allowErrorBoundary: true; allowJsxUtilityClass: true; }]; "react/react-in-jsx-scope": "off"; "require-await": "off"; "sort-imports": "off"; "sort-keys": "off"; "sort-vars": "off"; "strict-boolean-expressions": "off"; "typescript/ban-types": "off"; "typescript/consistent-return": "off"; "typescript/consistent-type-definitions": ["error", "type"]; "typescript/explicit-function-return-type": "off"; "typescript/explicit-module-boundary-types": "off"; "typescript/no-unsafe-type-assertion": "off"; "typescript/non-nullable-type-assertion-style": "off"; "unicorn/filename-case": ["error", { case: string; }]; "unicorn/import-style": "off"; "unicorn/no-array-for-each": "off"; "unicorn/no-array-reduce": "off"; "unicorn/no-useless-switch-case": "off"; "unicorn/no-useless-undefined": "off"; "unicorn/prefer-math-trunc": "off"; }; }; export declare const createConfig: ({ ignorePatterns }: Required>) => OxlintConfig; //#endregion export { config as default };