/** * Utility functions for Asana API operations */ import type { AsanaResponse, OptFields, PaginationOptions } from './types'; type ApiResponse = { ok: boolean; status: number; statusText: string; json(): Promise; headers: { get(name: string): string | null; }; }; /** * Build query string from options */ export declare function buildQueryString>(options?: T): string; /** * Check if an error response indicates "Unknown object" (resource doesn't exist) * This is used for idempotent delete operations */ export declare function isUnknownObjectError(response: ApiResponse): Promise; /** * Parse Asana API response */ export declare function parseResponse(response: ApiResponse): Promise; /** * Build request body for Asana API */ export declare function buildRequestBody(data: T): string; /** * Get all pages from a paginated endpoint */ export declare function getAllPages(fetchFn: (offset?: string) => Promise, parseFn: (response: ApiResponse) => Promise>): Promise; export {}; //# sourceMappingURL=utils.d.ts.map