import * as React from 'react'; export interface RequestStatus { SUCCESS: 0; FAIL: 1; } export declare type RequestResult = Pick | Pick; export interface CardCompany { name: string; color: 'purple' | 'yellow' | 'sky' | 'white' | 'green' | 'orange' | 'blue' | 'yellow'; icon: string; } export declare type CardCompanyList = Record; export declare type ModalState = 'hidden' | 'visible' | 'disappear'; export declare type PageState = 'edit' | 'update' | 'list' | 'payment'; export interface CardData { id?: string; cardName?: string; companyId: string; cardNumber: Array; expireMonth: string; expireYear: string; userName: string; securityCode: string; cardPassword: string; } export declare type CardList = Array; export interface PageContextState { state: { pageTitle: string; pageLocation: string; }; action: { setTitle: React.Dispatch>; setLocation: React.Dispatch>; }; } export declare type CardDataContextAction = 'PRELOAD' | 'INSERT' | 'UPDATE' | 'DELETE'; export interface CardDataContextDispatch { type: CardDataContextAction; data: { index?: number; cardData?: CardData; }; } export interface CardDataContextState { state: { cardList: CardList; currentEditIndex: number; }; action: { dispatch: React.Dispatch; setEditIndex: React.Dispatch>; }; }