import type { NullableId, Params } from '@feathersjs/feathers';
import type { CheckUniqueOptions, IdentifyUser } from '../types';
/**
 * This module is usually called from the UI to check username, email, etc. are unique.
 */
export default function checkUnique(options: CheckUniqueOptions, identifyUser: IdentifyUser, ownId?: NullableId, meta?: {
    noErrMsg?: boolean;
}, params?: Params): Promise<null>;
