type FormatOptions = { check: boolean; silent: boolean; /** Flags after `--`, forwarded to mo-fmt. */ extraArgs: string[]; }; export type FormatResult = { ok: boolean; total: number; checked: number; valid: number; invalid: number; formatted: number; }; /** Absolute paths of the `.mo` files `mops format [filter]` formats. */ export declare function findFormatFiles(rootDir: string, filter: string): string[]; export declare function format(filter: string, options?: Partial, signal?: AbortSignal, onProgress?: (result: FormatResult) => void): Promise; export {};