import { type KernelSmartAccountImplementation } from "@zerodev/sdk/accounts"; import type { EntryPointType, GetKernelVersion, KERNEL_VERSION_TYPE, ValidatorInitData } from "@zerodev/sdk/types"; import type { Hex } from "viem"; import type { EntryPointVersion } from "viem/account-abstraction"; import type { Policy } from "./types.js"; import type { ModularSigner } from "./types.js"; export declare const deserializePermissionAccount: (client: KernelSmartAccountImplementation["client"], entryPoint: EntryPointType, kernelVersion: GetKernelVersion, modularPermissionAccountParams: string, modularSigner?: ModularSigner) => Promise>; export declare const createPolicyFromParams: (policy: Policy) => Promise; export declare const decodeParamsFromInitCode: (initCode: Hex, kernelVersion: KERNEL_VERSION_TYPE) => { index: undefined; validatorInitData: undefined; useMetaFactory: boolean; } | { index: bigint; validatorInitData: ValidatorInitData; useMetaFactory: boolean; }; //# sourceMappingURL=deserializePermissionAccount.d.ts.map