import type { GeoContractAddresses, GeoNetworkConfig, Networkish } from './types.js'; export declare const TESTNET_API_ORIGIN = "https://testnet-api.geobrowser.io"; /** * Defines a Geo network configuration for `createGeoClient`. * * Use this for local contract deployments, private testnets, or any environment * that is not covered by the built-in `GeoTestnetConfig`. * * @example * ```ts * import { createGeoClient, defineGeoNetworkConfig } from '@geoprotocol/geo-sdk'; * * const localGeo = defineGeoNetworkConfig({ * id: 'LOCAL', * name: 'Local Geo', * apiOrigin: 'http://localhost:3000', * chain: { * id: 31337, * name: 'Anvil', * rpcUrl: 'http://localhost:8545', * }, * contracts: { * SPACE_REGISTRY_ADDRESS: '0x0000000000000000000000000000000000000000', * DAO_SPACE_FACTORY_ADDRESS: '0x0000000000000000000000000000000000000000', * }, * }); * * const geo = createGeoClient({ network: localGeo }); * ``` */ export declare function defineGeoNetworkConfig(config: GeoNetworkConfig): GeoNetworkConfig; /** * Built-in Geo testnet configuration. * * @example * ```ts * import { createGeoClient, GeoTestnetConfig } from '@geoprotocol/geo-sdk'; * * const geo = createGeoClient({ network: GeoTestnetConfig }); * ``` */ export declare const GeoTestnetConfig: GeoNetworkConfig; export declare function resolveGeoNetwork(network?: Networkish): GeoNetworkConfig; export declare function requireGeoContract(network: GeoNetworkConfig, name: keyof GeoContractAddresses): `0x${string}`; export declare function getApiOrigin(network?: Networkish): string; //# sourceMappingURL=networks.d.ts.map