/// declare module '*.css'; declare module '*.less'; declare module '*.png'; declare module '*.svg' { export function ReactComponent( props: React.SVGProps, ): React.ReactElement; const url: string; export default url; } declare interface Column { title: string; dataIndex: string | string[]; render: (v: any, record: any) => any; } declare interface Policy { id: string; startDate: number; endDate: number; coverage: number; premium: number; status: string; claims?: Claim[]; shipment?: Shipment; [key: string]: any; } declare interface Claim { id: string; policyId: string; claimDate: number; claimType: 'lost' | 'damage'; claimReason: string; status: string; rejectReason?: string; [key: string]: any; } declare interface Shipment { trackingNumber: string; shippingFee: number; from: string; to: string; } declare interface GlobalState { policy: CommonState; claim: CommonState; loading: { effects: { [key: string]: boolean; }; }; }