import type { Context } from '@semantic-api/api'; import { description } from './description'; type Props = { email: string; password: string; } | { revalidate: true; }; declare const authenticate: (props: Props, context: Context) => Promise<{ name: string; code: string | undefined; details: Record | undefined; silent: boolean | undefined; logout: boolean | undefined; httpCode: number; message: string; stack?: string | undefined; cause?: unknown; } | { user: { first_name: string; last_name: string; email: string; roles: string[]; active: boolean; }; token: { type: string; token: string; }; }>; export default authenticate;