import { Canister } from '../../_canister'; import { type CanisterOptions } from '../../schema'; import { type TransferArgs, type TransferResult } from './schema'; /** * Provides a simple interface to interact with the ICP Ledger, * when developing Juno Serverless Functions in TypeScript. * * @param {CanisterOptions} [options] - Optional custom canister ID. */ export declare class IcpLedgerCanister extends Canister { constructor(options?: CanisterOptions); /** * Sends ICP using the Ledger canister `transfer` method. * * Use this to transfer ICP from one account to another when writing * Juno Serverless Functions in TypeScript. * * @param {TransferArgs} args - The ledger transfer arguments (amount, destination account, memo, fee, etc.). * @returns {Promise} The result of the ICP transfer. */ transfer: ({ args }: { args: TransferArgs; }) => Promise; }