import type { Context, ContractToFunction } from '@aeriajs/types'; import { type description } from './description.js'; export declare const ActivationError: { readonly UserNotFound: "USER_NOT_FOUND"; readonly AlreadyActiveUser: "ALREADY_ACTIVE_USER"; readonly InvalidLink: "INVALID_LINK"; readonly InvalidToken: "INVALID_TOKEN"; }; export declare const getInfoContract: { readonly payload: { readonly type: "object"; readonly required: readonly []; readonly properties: { readonly userId: { readonly type: "string"; }; readonly token: { readonly type: "string"; }; }; }; readonly response: [{ readonly type: "object"; readonly properties: { readonly _tag: { readonly const: "Error"; }; readonly result: { readonly const: undefined; readonly isConstUndefined: true; }; readonly error: { readonly type: "object"; readonly required: readonly ["httpStatus", "code"]; readonly properties: { readonly httpStatus: { readonly enum: [404, 401, 422]; }; readonly code: { readonly enum: ["INVALID_LINK", "INVALID_TOKEN", "USER_NOT_FOUND"]; }; readonly message: { readonly type: "string"; }; readonly details: { readonly type: "object"; readonly additionalProperties: true; }; }; }; }; }, { readonly type: "object"; readonly properties: { readonly _tag: { readonly const: "Result"; }; readonly error: { readonly const: undefined; readonly isConstUndefined: true; }; readonly result: { readonly type: "object"; readonly required: readonly ["name", "email"]; readonly properties: { readonly name: { readonly type: "string"; }; readonly email: { readonly type: "string"; }; readonly active: { readonly type: "boolean"; }; }; }; }; }]; }; export declare const getInfo: ContractToFunction>;