import { SearchUserRecordDto } from '../ldap/dto'; export declare const hashPassword: (password: string) => string; export declare const parseTemplate: (stringTemplate: string, obj: any) => string; export declare const encodeAdPassword: (utf8: string) => Buffer; export declare const encodeAdPasswordBase64: (adPassword: string) => string; export declare const includeLdapGroup: (group: string, groupPrefix: string, groupExcludeGroups: string[], debug?: boolean) => boolean; export declare const filterLdapGroup: (groups: SearchUserRecordDto[], groupExcludeGroups: string[], debug?: boolean) => SearchUserRecordDto[]; export declare const getProfileFromDistinguishedName: (dn: string) => string; export declare const getProfileFromMemberOf: (memberOf: string) => string; export declare const getCnFromDn: (dn: string) => string; export declare const getProfileFromFirstMemberOf: (memberOf: string[]) => string; export declare const addExtraPropertiesToGetUserRecords: (data: SearchUserRecordDto[], injectMetadataCache: (entry: SearchUserRecordDto) => any) => SearchUserRecordDto[]; export declare enum SortDirection { ASCENDING = "ascending", DESCENDING = "descending" } export declare const sortObjectByKey: (data: any[], keyProp: string, sortDirection?: SortDirection) => any[]; export declare const removeDuplicatesFromArrayByProperty: (array: any[], property: string) => any[];