import { InferContract } from '@spfn/core';
import { sendVerificationCodeContract } 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.318Z
 */

type SendVerificationCodeResponse = InferContract<typeof sendVerificationCodeContract>['response'];
type SendVerificationCodeBody = InferContract<typeof sendVerificationCodeContract>['body'];
/**
 * POST /_auth/codes
 */
declare const sendVerificationCode: (options: {
    body: SendVerificationCodeBody;
}) => Promise<{
    success: false;
    error: {
        details?: any;
        message: string;
        code: string;
    };
} | {
    message?: string | undefined;
    success: true;
    data: {
        success: boolean;
        expiresAt: string;
    };
}>;

export { type SendVerificationCodeBody, type SendVerificationCodeResponse, sendVerificationCode };
