import { InferContract } from '@spfn/core';
import { changePasswordContract } from '../contracts/auth.js';
import '@sinclair/typebox';

/**
 * Auto-generated API Client
 *
 * Generated by @spfn/core codegen
 * DO NOT EDIT MANUALLY
 *
 * @generated 2025-11-09T12:30:02.323Z
 */

type ChangePasswordResponse = InferContract<typeof changePasswordContract>['response'];
type ChangePasswordBody = InferContract<typeof changePasswordContract>['body'];
/**
 * PUT /_auth/password
 */
declare const changePassword: (options: {
    body: ChangePasswordBody;
}) => Promise<{
    success: false;
    error: {
        details?: any;
        message: string;
        code: string;
    };
} | {
    message?: string | undefined;
    success: true;
    data: {
        success: boolean;
    };
}>;

export { type ChangePasswordBody, type ChangePasswordResponse, changePassword };
