import { Chain, Transport } from "viem"; import { AvalancheCoreClient as Client } from "../../clients/createAvalancheCoreClient.js"; import { GetCurrentEpochReturnType } from "./types/getCurrentEpoch.js"; /** * Returns the current epoch information. * * - Docs: https://build.avax.network/docs/api-reference/proposervm-api#proposervmgetcurrentepoch * * @param client - The client to use. {@link AvalancheCoreClient} * @returns The current epoch information. {@link GetCurrentEpochReturnType} * * @example * ```ts * import { createAvalancheCoreClient } from '@avalanche-sdk/client' * import { avalanche } from '@avalanche-sdk/client/chains' * import { getCurrentEpoch } from '@avalanche-sdk/client/methods/proposervm' * * const client = createAvalancheCoreClient({ * chain: avalanche, * transport: { * type: "http", * url: "", * }, * }) * * const epoch = await getCurrentEpoch(client) * ``` */ export declare function getCurrentEpoch(client: Client): Promise; //# sourceMappingURL=getCurrentEpoch.d.ts.map