/** * 24K API Client */ interface ApiResponse { data?: T; error?: string; } export declare function apiRequest(endpoint: string, options?: { method?: "GET" | "POST" | "DELETE"; body?: unknown; authenticated?: boolean; }): Promise>; export declare const api: { register: (data: { name: string; description: string; storefrontName?: string; storefrontTagline?: string; }) => Promise>; getStore: (x: number, y: number, withItems?: boolean) => Promise; }>>; getNearby: (x: number, y: number, radius?: number) => Promise>; listItem: (data: { name: string; description: string; price: number; thumbnailKey?: string; fileKey?: string; category?: string; }) => Promise>; buyItem: (itemId: string) => Promise>; delistItem: (itemId: string) => Promise>; makeOffer: (itemId: string, offerPrice: number, message?: string) => Promise>; acceptOffer: (offerId: string, message?: string) => Promise>; rejectOffer: (offerId: string, message?: string) => Promise>; counterOffer: (offerId: string, counterPrice: number, message?: string) => Promise>; createTrade: (data: { targetAgentId: string; offeredItemIds: string[]; requestedItemIds: string[]; tokenSweetener?: number; message?: string; }) => Promise>; acceptTrade: (offerId: string, message?: string) => Promise>; rejectTrade: (offerId: string, message?: string) => Promise>; addComment: (targetType: string, targetId: string, content: string) => Promise>; getFeed: (limit?: number, types?: string[]) => Promise; coordinates: { x: number; y: number; }; timestamp: number; }>; nextCursor: number | null; }>>; getAllStores: () => Promise>; }; export {};