import type { LdapConfig, ConnectionSecurity } from '@n8n/constants'; import type { AuthProviderSyncHistory } from '@n8n/db'; import { AuthIdentity, User } from '@n8n/db'; import type { Entry as LdapUser } from 'ldapts'; export declare const validateLdapConfigurationSchema: (ldapConfig: LdapConfig) => { valid: boolean; message: string; }; export declare const resolveEntryBinaryAttributes: (entry: LdapUser) => LdapUser; export declare const resolveBinaryAttributes: (entries: LdapUser[]) => void; export declare const createFilter: (filter: string, userFilter: string) => string; export declare const escapeFilter: (filter: string) => string; export declare const getAuthIdentityByLdapId: (idAttributeValue: string) => Promise; export declare const getUserByLdapId: (idAttributeValue: string) => Promise; export declare const getUserByEmail: (email: string) => Promise; export declare const mapLdapAttributesToUser: (ldapUser: LdapUser, ldapConfig: LdapConfig) => [AuthIdentity["providerId"], Pick]; export declare const getLdapIds: () => Promise; export declare const getLdapUsers: () => Promise; export declare const mapLdapUserToDbUser: (ldapUser: LdapUser, ldapConfig: LdapConfig, toCreate?: boolean) => [string, User]; export declare const processUsers: (toCreateUsers: Array<[string, User]>, toUpdateUsers: Array<[string, User]>, toDisableUsers: string[]) => Promise; export declare const saveLdapSynchronization: (data: Omit) => Promise; export declare const getLdapSynchronizations: (page: number, perPage: number) => Promise; export declare const formatUrl: (url: string, port: number, security: ConnectionSecurity) => string; export declare const getMappingAttributes: (ldapConfig: LdapConfig) => string[]; export declare const createLdapAuthIdentity: (user: User, ldapId: string) => Promise; export declare const createLdapUserOnLocalDb: (data: Partial, ldapId: string) => Promise; export declare const updateLdapUserOnLocalDb: (identity: AuthIdentity, data: Partial) => Promise; export declare const deleteAllLdapIdentities: () => Promise;