/** Attempts to load the prettier package if it is installed. */ export declare function loadPrettier(): Promise<{ format: (sourceText: string, options?: Record) => string; resolveConfig: (fileName: string) => Promise | null>; } | null>; /** Attempts to load the tm-grammars package if it is installed. */ export declare function loadTmGrammars(): Promise<{ grammars: { name: string; scopeName: string; }[]; } | null>; /** Attempts to load a grammar from the tm-grammars package if it is installed. */ export declare function loadTmGrammar(name: string): Promise | null>; /** Attempts to load a theme from the tm-themes package if it is installed. */ export declare function loadTmTheme(name: string): Promise | null>;