import { type Client, type ClientConfig, type CreateClientErrorType } from '../../clients/createClient.js'; import type { Transport } from '../../clients/transports/createTransport.js'; import type { ErrorType } from '../../errors/utils.js'; import type { PaymasterRpcSchema, RpcSchema } from '../../types/eip1193.js'; import type { Prettify } from '../../types/utils.js'; import { type PaymasterActions } from './decorators/paymaster.js'; export type PaymasterClientConfig = Prettify, 'cacheTime' | 'key' | 'name' | 'pollingInterval' | 'rpcSchema' | 'transport'>>; export type PaymasterClient = Prettify>; export type CreatePaymasterClientErrorType = CreateClientErrorType | ErrorType; /** * Creates a Paymaster Client. * * - Docs: https://viem.sh/account-abstraction/clients/paymaster * * @param config - {@link PaymasterClientConfig} * @returns A Paymaster Client. {@link PaymasterClient} * * @example * import { http } from 'viem' * import { createPaymasterClient } from 'viem/account-abstraction' * * const paymasterClient = createPaymasterClient({ * transport: http('https://...'), * }) */ export declare function createPaymasterClient(parameters: PaymasterClientConfig): PaymasterClient; //# sourceMappingURL=createPaymasterClient.d.ts.map