import type { Plugin } from 'prettier' declare const plugin: { testPath(path: string): boolean parsers: NonNullable options: NonNullable } export = plugin declare module 'prettier' { interface Options { /** * Custom sort order for `package.json` fields. */ packageSortOrder?: string[] | undefined } }