export interface User {
    id: string;
    email: string;
    stripe_customer_id: string | null;
    created_at: string;
}
export interface LicenseKey {
    id: string;
    user_id: string;
    key_hash: string;
    key_prefix: string;
    balance_cents: number;
    status: 'active' | 'revoked';
    spending_limit_cents: number | null;
    spending_limit_reset_at: string | null;
    tier: 'paid';
    balance_hmac: string | null;
    created_at: string;
}
export interface Charge {
    id: string;
    license_key_id: string;
    amount_cents: number;
    document_hash: string;
    status: 'pending' | 'confirmed' | 'refunded' | 'expired';
    machine_id: string | null;
    file_type: string | null;
    file_size_bytes: number | null;
    processing_ms: number | null;
    created_at: string;
}
export interface Payment {
    id: string;
    user_id: string;
    amount_cents: number;
    stripe_payment_intent_id: string;
    created_at: string;
}
export interface Session {
    token: string;
    user_id: string;
    expires_at: string;
    created_at: string;
}
