export declare function format(source: string, parser?: 'json' | 'typescript'): Promise;