import { AppMetadata, PaymasterOptions, Preference, ProviderInterface, SubAccountOptions } from '../../../core/provider/interface.js'; import { AddSubAccountAccount } from '../../../core/rpc/wallet_addSubAccount.js'; import { SubAccount, ToOwnerAccountFn } from '../../../store/store.js'; export type CreateProviderOptions = Partial & { preference?: Preference; subAccounts?: Omit; paymasterOptions?: Record; }; /** * Create Startale AccountSDK instance with EIP-1193 compliant provider * @param params - Options to create a Startale account SDK instance. * @returns An SDK object with a getProvider method that returns an EIP-1193 compliant provider. */ export declare function createStartaleAccountSDK(params: CreateProviderOptions): { getProvider: () => ProviderInterface; subAccount: { create(accountParam: AddSubAccountAccount): Promise; get(): Promise; addOwner: ({ address, publicKey, chainId, }: { address?: `0x${string}`; publicKey?: `0x${string}`; chainId: number; }) => Promise; setToOwnerAccount(toSubAccountOwner: ToOwnerAccountFn): void; }; }; //# sourceMappingURL=createStartaleAccountSDK.d.ts.map