export default function format(code: any, { mode, position }: { mode: any; position: any; }): Promise;