import type { Context, ContractToFunction } from '@aeriajs/types'; import type { description } from './description.js'; export declare const getRedefinePasswordLinkContract: { readonly payload: { readonly type: "object"; readonly required: readonly ["userId"]; readonly properties: { readonly userId: { readonly type: "string"; readonly format: "objectid"; }; readonly redirect: { 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: [403, 404, 400]; }; readonly code: { readonly enum: ["RESOURCE_NOT_FOUND", "OWNERSHIP_ERROR", "INSECURE_OPERATOR", "MALFORMED_INPUT"]; }; readonly message: { readonly type: "string"; }; readonly details: { readonly type: "object"; readonly additionalProperties: true; }; }; }; }; }, { 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: [403]; }; readonly code: { readonly enum: ["USER_NOT_ACTIVE"]; }; 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 properties: { readonly url: { readonly type: "string"; }; }; }; }; }]; }; export declare const getRedefinePasswordLink: ContractToFunction>;