import type { GiftCardJsonResponse } from '../../../../orm/src/models/GiftCard';
import type { GiftCardStats } from '../types';

export declare function fetchAll(): Promise<GiftCardJsonResponse[]>;
export declare function fetchById(id: number): Promise<GiftCardJsonResponse | undefined>;
export declare function fetchByCode(code: string): Promise<GiftCardJsonResponse | undefined>;
export declare function fetchActive(): Promise<GiftCardJsonResponse>;
export declare function fetchStats(): Promise<GiftCardStats>;
export declare function checkBalance(code: string): Promise<{ valid: boolean, balance?: number, currency?: string, message?: string }>;
export declare function calculateGiftCardValues(daysRange: number): Promise<{ current_period: { total_initial_value: number total_remaining_balance: number utilization_rate: number card_count: number average_initial_value: number average_remaining_balance: number } previous_period: { total_initial_value: number total_remaining_balance: number utilization_rate: number card_count: number } comparison: { initial_value: { difference: number percentage: number is_increase: boolean } balance: { difference: number percentage: number is_increase: boolean } card_count: { difference: number percentage: number is_increase: boolean } } days_range: number }>;