import type { ApifyClientOptions } from 'apify';
import { ApifyClient as _ApifyClient } from 'apify-client';
import type { ActorsMcpServer } from './mcp/server.js';
import type { ApifyToken } from './types.js';
type ExtendedApifyClientOptions = Omit<ApifyClientOptions, 'token'> & {
    token?: string | null | undefined;
    skyfirePayId?: string;
};
export declare function getApifyAPIBaseUrl(): string;
export declare class ApifyClient extends _ApifyClient {
    constructor(options: ExtendedApifyClientOptions);
}
/**
 * Creates ApifyClient with appropriate credentials based on Skyfire mode.
 * In Skyfire mode, uses skyfire-pay-id from args; otherwise uses apifyToken.
 *
 * @param apifyMcpServer - The MCP server instance with configuration options
 * @param args - Tool arguments that may contain skyfire-pay-id
 * @param apifyToken - Standard Apify token for non-Skyfire mode
 * @returns ApifyClient instance configured for the appropriate mode
 */
export declare function createApifyClientWithSkyfireSupport(apifyMcpServer: ActorsMcpServer, args: Record<string, unknown>, apifyToken: ApifyToken): ApifyClient;
export {};
//# sourceMappingURL=apify_client.d.ts.map