export interface AccountRow {
    id: number;
    address: string;
    public_key: string;
    nickname: string;
    allowance: number;
    daily_allowance: number;
    daily_spent: number;
    last_spend_date: string;
    created_at: string;
}
export declare class WalletManager {
    static readonly walletTools: {
        name: string;
        description: string;
        inputSchema: any;
    }[];
    private static getAllAccounts;
    private static getActiveIndex;
    private static setActiveIndex;
    private static getActiveAccount;
    private static resolveAccountIndex;
    private static storeMnemonic;
    private static getMnemonic;
    private static deleteMnemonic;
    private static getActiveSecretKey;
    private static checkSpendingLimits;
    private static recordSpend;
    /**
     * Converts flat JSON transaction format (as returned by make_*_txn / assign_group_id)
     * into an algosdk v3 Transaction object. Handles genesisHash in base64 string,
     * Uint8Array, or JSON-round-tripped {0:byte,...} object form.
     */
    private static prepareTransaction;
    private static extractTxnAmount;
    static handleTool(name: string, args: Record<string, unknown>): Promise<{
        content: {
            type: string;
            text: string;
        }[];
    }>;
    static getAccounts(): Promise<AccountRow[]>;
    static hasAccounts(): Promise<boolean>;
    static getActiveAccountInfo(): Promise<AccountRow | null>;
    /** Get active account details (address, nickname, spending limits). */
    static getActiveWalletAccount(): Promise<AccountRow>;
    /** Get active account's secret key from OS keychain. */
    static getActiveWalletSecretKey(): Promise<Uint8Array>;
    /** Check if transaction amount is within spending limits. Throws on violation. */
    static checkWalletSpendingLimits(account: AccountRow, amountMicroAlgos: number): void;
    /** Record a spend against the account's daily allowance tracker. */
    static recordWalletSpend(address: string, amountMicroAlgos: number): Promise<void>;
}
