import type { Server } from 'ldapjs'; import type { Operation } from 'effection'; import type { LDAPOptions, LDAPStoreOptions, Port, UserData } from './types'; import type { SimulationState, Simulator } from '@simulacrum/server'; import type { ResourceServiceCreator } from '@simulacrum/server'; import type { Slice } from '@effection/atom'; export interface NextFunction { (err?: E): void; } export declare function createLDAPServer(options: LDAPOptions & LDAPStoreOptions): Operation; export interface Close { close(): Promise; } /** * Wraps an LDAP server resource into an Promise based API */ export declare function runLDAPServer(options: LDAPOptions & LDAPStoreOptions): Promise; export declare function createLdapService(options: LDAPOptions, state: Slice): ResourceServiceCreator; export declare const ldap: Simulator; //# sourceMappingURL=index.d.ts.map