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

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

type ResendInvitationResponse = InferContract<typeof resendInvitationContract>['response'];
type ResendInvitationBody = InferContract<typeof resendInvitationContract>['body'];
/**
 * POST /_auth/invitations/resend
 */
declare const resendInvitation: (options: {
    body: ResendInvitationBody;
}) => Promise<{
    success: false;
    error: {
        details?: any;
        message: string;
        code: string;
    };
} | {
    message?: string | undefined;
    success: true;
    data: {
        success: boolean;
        expiresAt: string;
    };
}>;

export { type ResendInvitationBody, type ResendInvitationResponse, resendInvitation };
