import { Layout, Options } from './types.js';
/**
 * Execute the Graphviz dot command and output the results to a file.
 */
export declare function toFile<T extends Layout>(dot: string, path: string, options?: Options<T>): Promise<void>;
