import { ASTBase, ASTBaseBlock } from 'miniscript-core'; import { DefaultFactoryOptions, Factory } from '../factory'; export declare enum IndentationType { Tab = 0, Whitespace = 1 } export interface BeautifyContextOptions extends DefaultFactoryOptions { keepParentheses: boolean; indentation: IndentationType; indentationSpaces: number; isDevMode: boolean; strictMode: boolean; } export declare class BeautifyContext { readonly options: BeautifyContextOptions; private factory; private _indent; private _isMultilineAllowed; getIndent: (offset?: number) => string; get indent(): number; get isMultilineAllowed(): boolean; constructor(factory: Factory>, options: BeautifyContextOptions); disableMultiline(): void; enableMultiline(): void; incIndent(): void; decIndent(): void; emitLeadingComments(node: ASTBase): void; emitTrailingComments(node: ASTBase): void; emitEndTrailingComments(node: ASTBase): void; emitTrailingCommentsToLine(node: ASTBase, lineIndex: number): void; private isBlockStatement; buildBlock(block: ASTBaseBlock): void; }