import type { Options as PrettierOptions } from "prettier"; import type { JsonataASTNode } from "../types"; type SupportedPrettierOptions = Pick; /** * Re-formats JSONata expression string in an opinionated way on where to put line breaks and whitespace. */ export declare function formatJsonata(expression: string, options?: SupportedPrettierOptions): Promise; export declare function formatJsonataSync(expression: string, options?: SupportedPrettierOptions): string; export declare function serializeJsonataSync(jsonataAST: JsonataASTNode, options?: SupportedPrettierOptions): string; /** * Serializes JSONata AST to a formatted string representing JSONata expression. */ export declare function serializeJsonata(jsonataAST: JsonataASTNode, options?: SupportedPrettierOptions): Promise; export {};