import type { IExecuteFunctions, ILoadOptionsFunctions, IHttpRequestMethods, IDataObject } from 'n8n-workflow'; export interface GameBoostGame { id: number; name: string; slug: string; acronym: string | null; services: string[] | null; game_item_collections: Array<{ name: string; slug: string; items_count: number | null; }> | null; } export interface GameBoostDeliveryTime { duration: number; unit: 'minutes' | 'hours' | 'days'; format: string; format_long: string; seconds: number; } export interface GameBoostCredentials { login: string | null; password: string | null; email_login: string | null; email_password: string | null; email_provider: string | null; } export interface GameBoostAccountOffer { id: number; game: { id: number; name: string; slug: string; }; account_order_ids: number[] | null; title: string; slug: string; description: string | null; parameters: IDataObject | null; dump: string | null; status: 'draft' | 'pending' | 'listed' | 'processing' | 'sold' | 'refunded' | 'archived'; delivery_time: GameBoostDeliveryTime; is_manual_delivery: boolean; credentials: GameBoostCredentials; delivery_instructions: string | null; price: string; price_usd: string; views: number; image_urls: string[]; created_at: number; updated_at: number; listed_at: number | null; } export interface GameBoostPaginationMeta { current_page: number; from: number; last_page: number; per_page: number; to: number; total: number; } export interface GameBoostPaginationLinks { first: string | null; last: string | null; prev: string | null; next: string | null; } export interface GameBoostListResponse { data: T[]; meta?: GameBoostPaginationMeta; links?: GameBoostPaginationLinks; message?: string; } export interface GameBoostSingleResponse { data: T; message?: string; action?: string; previous_status?: string | null; } export interface GameBoostAccountOfferTemplate { account_data: Record; } export declare function gameBoostApiRequest(this: IExecuteFunctions | ILoadOptionsFunctions, method: IHttpRequestMethods, endpoint: string, body?: IDataObject, query?: IDataObject): Promise; export declare function gameBoostApiRequestAllItems(this: IExecuteFunctions, method: IHttpRequestMethods, endpoint: string, body?: IDataObject, query?: IDataObject): Promise; export declare function sleep(ms: number): Promise; export declare function buildFilterQuery(filters: IDataObject): IDataObject;