/**
 * @internal
 * Fetches data from the Telegram Bot API.
 *
 * @param path - The API endpoint to fetch data from, e.g., 'getMe'.
 * @param args - The input arguments for the API call, which will be sent as JSON in the request body.
 *
 * @returns A promise that resolves to the output data from the API call, parsed as JSON.
 */
export declare let client_fetch: <In, Out>(path: string, args?: In & Record<string, string | number | boolean>) => Promise<Out>;
/**
 * Sets the base URL for the client.
 * This is useful if you want to use a different Telegram Bot API server or a mock server.
 *
 * @param url - The base URL to use for the client.
 */
export declare const client_setBaseUrl: (url: string) => void;
/**
 * Sets a custom fetch function to be used by the client.
 * This can be useful for testing or when you want to use a different HTTP client.
 *
 * @param customFetch - The custom fetch function to use.
 */
export declare const client_setFetch: (customFetch: typeof client_fetch) => void;
