1 | import { ParserOptions, Plugin } from 'prettier';
|
2 | import { File, Node, ShOptions } from 'sh-syntax';
|
3 | export interface Processor {
|
4 | (text: string, options?: ShOptions): File;
|
5 | (text: string, options?: ShOptions & {
|
6 | print: true;
|
7 | }): string;
|
8 | (ast: File, options?: ShOptions & {
|
9 | originalText: string;
|
10 | }): string;
|
11 | }
|
12 | export declare type ShParserOptions = ParserOptions<Node> & ShOptions;
|
13 | declare const ShPlugin: Plugin<Node>;
|
14 | export default ShPlugin;
|