export declare type TicketVoucherTag = 'session_ticket'; export declare type TicketStatus = string; export interface TicketRecord { id: string; voucherId?: number | string; sourceVoucher?: TicketVoucherSource; productName: string; guestName?: string; code?: string; encoded?: string; tag: TicketVoucherTag; timeText: string; dateText: string; status: TicketStatus; isCheckIn: boolean; } export interface TicketVoucherSource { voucher_id?: number | string; code?: string; encoded?: string; tag?: string; product_name?: string; status?: string; start_date?: string; expire_date?: string; start_time?: string; end_time?: string; metadata?: { ticket?: { is_checkin?: boolean; guest_name?: string; }; [key: string]: any; }; [key: string]: any; } export declare function isTicketVoucherTag(tag?: string): tag is TicketVoucherTag; export declare function normalizeTicketStatus(status?: string): TicketStatus; export declare function isTicketCheckedIn(ticket: TicketRecord): boolean; export declare function mapVoucherToTicketRecord(voucher: TicketVoucherSource, index: number): TicketRecord | null; export declare function mapVouchersToTicketRecords(vouchers?: TicketVoucherSource[]): TicketRecord[];