import { ASTChunkGreybel } from 'greybel-core'; import { ASTBase } from 'miniscript-core'; import { DependencyLike } from '../types/dependency'; import { TransformerDataObject, TransformerLike } from '../types/transformer'; import { BeautifyContext, BeautifyContextOptions } from './beautify/context'; import { Factory, Line } from './factory'; export type BeautifyOptions = Partial; export interface BeautifyLine extends Line { trailingComment: string; } export declare class BeautifyFactory extends Factory { readonly context: BeautifyContext; _lines: BeautifyLine[]; _activeLine: BeautifyLine; constructor(transformer: TransformerLike); createLine(): BeautifyLine; appendTrailingComment(text: string): void; appendTrailingCommentToLine(lineIndex: number, text: string): void; transform(item: ASTChunkGreybel, dependency: DependencyLike): string; handlers: Record void>; generateOptimizations(): string[]; }