import { GremlintInternalConfig, UnformattedSyntaxTree } from './types'; /** * Checks if a syntax tree or a set of syntax trees can fit on a single line * within the maxLineLength constraint. */ export declare const willFitOnLine: (syntaxTree: UnformattedSyntaxTree | { type: string; steps: UnformattedSyntaxTree[]; }, config: Pick, horizontalPosition?: number) => boolean; /** * Calculates the width of a syntax tree when formatted as a one-liner. */ export declare const getOneLinerWidth: (syntaxTree: UnformattedSyntaxTree, horizontalPosition?: number) => number;