import type { namedTypes } from 'ast-types'; export type SourceFormattingConfig = { bracketSpacing: boolean; endOfLine: '\n' | '\r\n'; indentationUnit: string; printWidth: number; quote: 'single' | 'double'; semi: boolean; singleQuote: boolean; tabWidth: number; useTabs: boolean; }; export declare const getPreferredQuote: (input: string, prettierConfigOverride: Record | null) => "double" | "single"; export declare const getObjectCurlySpacing: (input: string, prettierConfigOverride: Record | null) => boolean; export declare const getIndentationUnit: (input: string, prettierConfigOverride: Record | null) => string; export declare const getEndOfLine: (input: string) => "\n" | "\r\n"; export declare const getLineIndent: ({ input, offset, }: { input: string; offset: number; }) => string; export declare const getSourceFormattingConfig: ({ input, prettierConfigOverride, }: { input: string; prettierConfigOverride: Record | null; }) => SourceFormattingConfig; export declare const normalizePrintedIndentation: ({ endOfLine, indentationUnit, printed, tabWidth, }: { endOfLine: "\n" | "\r\n"; indentationUnit: string; printed: string; tabWidth: number; }) => string; export declare const indentContinuationLines: ({ indent, input, printed, }: { indent: string; input: string; printed: string; }) => string; export declare const indentContinuationLinesAtOffset: ({ input, offset, printed, }: { input: string; offset: number; printed: string; }) => string; export declare const printNodeWithSourceStyle: ({ input, node, prettierConfigOverride, wrapColumn, }: { input: string; node: namedTypes.Node; prettierConfigOverride: Record | null; wrapColumn: number | null; }) => string;