UNPKG

@dfinity/oisy-wallet-signer

Version:

A library designed to facilitate communication between a dApp and the OISY Wallet on the Internet Computer.

71 lines (70 loc) 2.35 kB
import * as z from 'zod'; export declare const i18nCoreSchema: z.ZodObject<{ amount: z.ZodString; from: z.ZodString; to: z.ZodString; fee: z.ZodString; memo: z.ZodString; }, z.core.$strict>; export declare const i18nIcrc1_transferSchema: z.ZodObject<{ title: z.ZodString; }, z.core.$strict>; export declare const i18nIcrc2_approveSchema: z.ZodObject<{ title: z.ZodString; address_is_allowed: z.ZodString; your_account: z.ZodString; requested_withdrawal_allowance: z.ZodString; withdrawal_allowance: z.ZodObject<{ some: z.ZodString; none: z.ZodString; }, z.core.$strip>; expiration_date: z.ZodObject<{ title: z.ZodString; none: z.ZodString; }, z.core.$strip>; approval_fee: z.ZodString; approver_account_transaction_fees: z.ZodString; }, z.core.$strict>; export declare const i18nIcrc2_transfer_fromSchema: z.ZodObject<{ title: z.ZodString; withdrawal_account: z.ZodString; sending_the_transfer_request: z.ZodString; amount_to_withdraw: z.ZodString; fee_paid_by_withdrawal_account: z.ZodString; }, z.core.$strict>; export declare const i18Schema: z.ZodObject<{ core: z.ZodObject<{ amount: z.ZodString; from: z.ZodString; to: z.ZodString; fee: z.ZodString; memo: z.ZodString; }, z.core.$strict>; icrc1_transfer: z.ZodObject<{ title: z.ZodString; }, z.core.$strict>; icrc2_approve: z.ZodObject<{ title: z.ZodString; address_is_allowed: z.ZodString; your_account: z.ZodString; requested_withdrawal_allowance: z.ZodString; withdrawal_allowance: z.ZodObject<{ some: z.ZodString; none: z.ZodString; }, z.core.$strip>; expiration_date: z.ZodObject<{ title: z.ZodString; none: z.ZodString; }, z.core.$strip>; approval_fee: z.ZodString; approver_account_transaction_fees: z.ZodString; }, z.core.$strict>; icrc2_transfer_from: z.ZodObject<{ title: z.ZodString; withdrawal_account: z.ZodString; sending_the_transfer_request: z.ZodString; amount_to_withdraw: z.ZodString; fee_paid_by_withdrawal_account: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; export type I18n = z.infer<typeof i18Schema>;