import { default as SafeApiKit } from '@safe-global/api-kit'; import { default as Safe, SafeConfig } from '@safe-global/protocol-kit'; import { Address } from 'viem'; import { BuildPublicClientArgs, PublicClient } from '../client'; import { SafeSupportedNetworks } from './constants'; export declare function createApiKit(chainId: SafeSupportedNetworks, apiKey?: string): Promise; export declare function createSafe(config: SafeConfig): Promise; export type IsValidSafeArgs = { /** * There are times where the type of `PublicClient` in this repo, * and those in the repos implementing this function, * do not match due to import/type issues. * This param lets the implementing code decide which to pass. * If typeof BuildPublicClientArgs, then the public client will be created here. */ clientOrBuildClientArgs: PublicClient | BuildPublicClientArgs; chain: SafeSupportedNetworks; safeAddress: Address; }; export declare function isValidSafe(args: IsValidSafeArgs): Promise; export type IsSafeOwnerArgs = { /** * There are times where the type of `PublicClient` in this repo, * and those in the repos implementing this function, * do not match due to import/type issues. * This param lets the implementing code decide which to pass. * If typeof BuildPublicClientArgs, then the public client will be created here. */ clientOrBuildClientArgs: PublicClient | BuildPublicClientArgs; chain: SafeSupportedNetworks; safeAddress: Address; eoa: Address; }; export declare function isSafeOwner(args: IsSafeOwnerArgs): Promise; export type FetchOwnedSafesArgs = { /** The EoA Safe signer to fetch owned Safes for */ signer: Address; /** * Which chains to retrieve the EoA owned Safes on. * @default all */ chains?: chains; }; export declare function fetchOwnedSafes(args: FetchOwnedSafesArgs): Promise<{ [K in chains[number]]: readonly Address[]; }>; export type SafesByChain = { address: Address; chain: SafeSupportedNetworks; }; //# sourceMappingURL=utils.d.ts.map