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

type LogoutResponse = InferContract<typeof logoutContract>['response'];
type LogoutBody = InferContract<typeof logoutContract>['body'];
/**
 * POST /_auth/logout
 */
declare const logout: (options: {
    body: LogoutBody;
}) => Promise<{
    success: false;
    error: {
        details?: any;
        message: string;
        code: string;
    };
} | {
    message?: string | undefined;
    success: true;
    data: {
        success: boolean;
    };
}>;

export { type LogoutBody, type LogoutResponse, logout };
