/** * RPC account key. * * @see https://github.com/ithacaxyz/relay/blob/main/src/types/key.rs */ import * as z from 'zod/mini'; export declare const Key: z.ZodMiniObject<{ /** The expiry of the key. */ expiry: z.ZodMiniCodec, z.ZodMiniNumber>; /** Whether the digest was prehashed. */ prehash: z.ZodMiniOptional>; /** Public key. */ publicKey: z.ZodMiniTemplateLiteral<`0x${string}`>; /** Role. */ role: z.ZodMiniUnion, z.ZodMiniLiteral<"normal">]>; /** Key type. */ type: z.ZodMiniUnion, z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"webauthnp256">]>; }, z.core.$strip>; export type Key = z.infer; export declare const WithPermissions: z.ZodMiniObject<{ /** Represents key permissions. */ permissions: z.ZodMiniReadonly; to: z.ZodMiniTemplateLiteral<`0x${string}`>; type: z.ZodMiniLiteral<"call">; }, z.core.$strip>, z.ZodMiniObject<{ limit: z.ZodMiniCodec, z.ZodMiniBigInt>; period: z.ZodMiniUnion, z.ZodMiniLiteral<"hour">, z.ZodMiniLiteral<"day">, z.ZodMiniLiteral<"week">, z.ZodMiniLiteral<"month">, z.ZodMiniLiteral<"year">]>; token: z.ZodMiniOptional, z.ZodMiniNull]>>; type: z.ZodMiniLiteral<"spend">; }, z.core.$strip>]>>>; /** The expiry of the key. */ expiry: z.ZodMiniCodec, z.ZodMiniNumber>; /** Whether the digest was prehashed. */ prehash: z.ZodMiniOptional>; /** Public key. */ publicKey: z.ZodMiniTemplateLiteral<`0x${string}`>; /** Role. */ role: z.ZodMiniUnion, z.ZodMiniLiteral<"normal">]>; /** Key type. */ type: z.ZodMiniUnion, z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"webauthnp256">]>; }, z.core.$strip>; export type WithPermissions = z.infer; //# sourceMappingURL=key.d.ts.map