type PrettierSpecialCase = | 'check' | 'local' | 'outer' | `html-local` | `html-outer` interface ExecPrettier { filePath: string injectOptions: string prettierSpecialCase?: PrettierSpecialCase } export interface LintFnResult { lintResult?: string prettierResult: string } export function lintFn(input: { filePath: string prettierSpecialCase?: PrettierSpecialCase useAlternativeExecCommand?: boolean cwdOverride?: string | false forceTypescript?: boolean debug?: boolean }): Promise export function execPrettier(input: ExecPrettier): Promise