import * as AST from './types/types-ast'; import { SERIALIZATION_FORMAT } from './lona-format'; export declare function decodeTypes(contents: string, format?: SERIALIZATION_FORMAT): AST.Root; export declare function encodeTypes(ast: AST.Root, format: SERIALIZATION_FORMAT): string; export declare function convertTypes(contents: string, targetFormat: SERIALIZATION_FORMAT, options?: { sourceFormat?: SERIALIZATION_FORMAT; }): string;