import { ObjectLiteral } from '../types/common';
/** @see https://gist.github.com/RubyTuesdayDONO/5006455 */
export declare function topologicalSort(graph: Record<string, Set<string>>): string[];
/** Sort object keys using a reference order array, sort keys not in reference order in lasts positions */
export declare function sortObjKeysFromArray<T extends ObjectLiteral>(obj: T, orderedKeys: Array<keyof T>): {
    [k: string]: T[keyof T];
};
