import { AuthTokenRedemptionErrorCode, SecretFieldImpl } from '../types'; import { PickerDbAPI } from '../../schema/types'; export declare function validateAuthToken(listKey: string, secretFieldImpl: SecretFieldImpl, tokenType: 'passwordReset' | 'magicAuth', identityField: string, identity: string, tokenValidMins: number | undefined, token: string, dbItemAPI: PickerDbAPI[string]): Promise<{ success: false; code: AuthTokenRedemptionErrorCode; } | { success: true; item: { id: any; [prop: string]: any; }; }>;