import { Link, Directory, Node, FileIndex } from '../models'; export declare type MillOpts = Record; export declare type MillFunction = (mill: string, opts: MillOpts, form: any, headers: { [k: string]: string; }) => Promise; export default class SchemaMiller { static sortLinksByDependency(links: { [k: string]: Link; }): { name: string; link: Link; }[]; static normalizeOptions(info: Node | Link): Record; static resolveDependency(method: MillOpts, payloadsByName: Directory): { [x: string]: string; }; static mill(payload: any, node: Node, remoteMill: MillFunction): Promise; }