import { Address, Chain } from "viem"; import { SafeVersion } from "permissionless/accounts"; //#region src/environment.d.ts interface PolyesterEntryPointConfig { readonly address: Address; readonly version: "0.7"; } interface PolyesterSafeDeploymentConfig { readonly version: SafeVersion; readonly safeModuleSetupAddress: Address; readonly safe4337ModuleAddress: Address; readonly safeProxyFactoryAddress: Address; readonly safeSingletonAddress: Address; readonly multiSendAddress: Address; readonly multiSendCallOnlyAddress?: Address; } interface PolyesterAccountAbstractionEnvironment { readonly bundlerUrl: string; readonly paymasterUrl: string; readonly entryPoint: PolyesterEntryPointConfig; readonly safe: PolyesterSafeDeploymentConfig; } interface PolyesterContractsEnvironment { readonly tradingGatewayAddress: Address; } interface PolyesterEnvironment { readonly name: string; readonly fingerprint: string; readonly apiUrl: string; readonly websocketUrl: string; readonly rpcUrl: string; readonly chain: Chain; readonly accountAbstraction: PolyesterAccountAbstractionEnvironment; readonly contracts: PolyesterContractsEnvironment; } interface CreatePolyesterEnvironmentParams { readonly name: string; readonly apiUrl: string; readonly websocketUrl: string; readonly rpcUrl: string; readonly chain: Chain; readonly accountAbstraction: { readonly bundlerUrl: string; readonly paymasterUrl: string; readonly entryPoint: PolyesterEntryPointConfig; readonly safe: PolyesterSafeDeploymentConfig; }; readonly contracts: PolyesterContractsEnvironment; } /** * Creates a complete SDK environment configuration from entrypoint and contract settings. */ declare function createPolyesterEnvironment(params: CreatePolyesterEnvironmentParams): PolyesterEnvironment; declare const POLYESTER_DEVNET_ENVIRONMENT: PolyesterEnvironment; declare const POLYESTER_TESTNET_ENVIRONMENT: PolyesterEnvironment; //#endregion export { CreatePolyesterEnvironmentParams, POLYESTER_DEVNET_ENVIRONMENT, POLYESTER_TESTNET_ENVIRONMENT, PolyesterAccountAbstractionEnvironment, PolyesterContractsEnvironment, PolyesterEntryPointConfig, PolyesterEnvironment, PolyesterSafeDeploymentConfig, createPolyesterEnvironment }; //# sourceMappingURL=environment.d.ts.map