import { InferContract } from '@spfn/core';
import { deleteInvitationContract } 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 DeleteInvitationResponse = InferContract<typeof deleteInvitationContract>['response'];
type DeleteInvitationBody = InferContract<typeof deleteInvitationContract>['body'];
/**
 * POST /_auth/invitations/delete
 */
declare const deleteInvitation: (options: {
    body: DeleteInvitationBody;
}) => Promise<{
    success: false;
    error: {
        details?: any;
        message: string;
        code: string;
    };
} | {
    message?: string | undefined;
    success: true;
    data: {
        success: boolean;
    };
}>;

export { type DeleteInvitationBody, type DeleteInvitationResponse, deleteInvitation };
