/**
 * Zapier API Client Module
 *
 * This module provides a centralized API layer for all HTTP interactions
 * with Zapier's various APIs. It handles authentication, error handling,
 * polling, and provides consistent patterns across all services.
 */
export type { ApiClient, ApiClientOptions, RequestOptions, PollOptions, DebugLogger, Action, Field, Choice, ActionExecutionResult, ActionField, ActionFieldChoice, NeedsRequest, NeedsResponse, Connection, ConnectionsResponse, Implementation, ImplementationsResponse, } from "./types";
import type { ApiClient } from "./types";
import type { Credentials } from "../types/credentials";
export { isJwt, getAuthorizationHeader, extractUserIdsFromJwt } from "./auth";
export { createDebugLogger, createDebugFetch } from "./debug";
export { pollUntilComplete } from "./polling";
export { createZapierApi } from "./client";
export declare function generateRequestId(): string;
/**
 * Utility function to get or create an API client for standalone functions
 *
 * @param config - Configuration that may include an existing API client
 * @returns ApiClient instance
 */
export declare function getOrCreateApiClient(config: {
    baseUrl?: string;
    credentials?: Credentials;
    /** @deprecated Use `credentials` instead */
    token?: string;
    api?: ApiClient;
    debug?: boolean;
    fetch?: typeof globalThis.fetch;
}): ApiClient;
//# sourceMappingURL=index.d.ts.map