import type * as Address from 'ox/Address'; import type * as Hex from 'ox/Hex'; import type * as z from 'zod/mini'; import * as Key from '../../viem/Key.js'; import type * as Tokens from './tokens.js'; export declare const Schema: z.ZodMiniObject<{ address: z.ZodMiniOptional>; chainId: z.ZodMiniOptional, z.ZodMiniNumber>>; expiry: z.ZodMiniNumber; feeToken: z.ZodMiniNullable, z.ZodMiniTemplateLiteral<`${number}`>]>; symbol: z.ZodMiniOptional, z.ZodMiniString]>>; }, z.core.$strip>>; key: z.ZodMiniOptional; type: z.ZodMiniUnion, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"webauthn-p256">]>; }, z.core.$strip>>; permissions: z.ZodMiniObject<{ calls: z.ZodMiniReadonly; to: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>, z.ZodMiniObject<{ signature: z.ZodMiniString; }, z.core.$strip>, z.ZodMiniObject<{ to: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>]>, "_zod"> & { _zod: Omit; to: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>, z.ZodMiniObject<{ signature: z.ZodMiniString; }, z.core.$strip>, z.ZodMiniObject<{ to: z.ZodMiniTemplateLiteral<`0x${string}`>; }, z.core.$strip>]>, "output"> & { output: { signature: string; to: `0x${string}`; } | { signature: string; to?: undefined; } | { to: `0x${string}`; signature?: undefined; }; }; }>>; signatureVerification: z.ZodMiniOptional>>; }, z.core.$strip>>; spend: z.ZodMiniOptional, z.ZodMiniBigInt>; period: z.ZodMiniUnion, z.ZodMiniLiteral<"hour">, z.ZodMiniLiteral<"day">, z.ZodMiniLiteral<"week">, z.ZodMiniLiteral<"month">, z.ZodMiniLiteral<"year">]>; token: z.ZodMiniOptional>; }, z.core.$strip>>>>; }, z.core.$strip>; }, z.core.$strip>; export type PermissionsRequest = z.infer; export declare function fromKey(key: Key.Key): PermissionsRequest; export declare namespace fromKey { type Options = { address: Address.Address; chainId?: Hex.Hex | undefined; }; } export declare function toKey(request: PermissionsRequest | undefined, options?: toKey.Options): Promise; export declare namespace toKey { type Options = { chainId?: number | undefined; feeTokens?: Tokens.Tokens | undefined; }; } //# sourceMappingURL=permissionsRequest.d.ts.map