export declare const sortByPriority: (arr: (T & { default?: boolean; required?: boolean; })[]) => (T & { default?: boolean; required?: boolean; })[];