/*!
Copyright 2022 SecuX Technology Inc
Copyright Chen Wei-En
Copyright Wu Tsung-Yu

Licensed under the Apache License, Version 2.0 (the License);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an AS IS BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
/// <reference types="node" />
/// <reference types="node" />
import { Base58String, HexString } from "./interface";
import { setComputeUnitLimitData, setComputeUnitPriceData } from "./layout";
import { Instruction } from "./transaction";
export declare class SystemInstruction {
    static readonly programId: HexString;
    static createAccount(params: {
        payer: Base58String;
        lamports: number;
        space: number;
        pubkey: string | Buffer;
    }): Instruction;
    static transfer(params: {
        from: Base58String;
        to: Base58String;
        lamports: number;
    }): Instruction;
    static createAccountWithSeed(params: {
        payer: Base58String;
        from?: Base58String;
        seed: string;
        programId: Base58String;
        lamports: number;
        space?: number;
    }): Instruction;
}
export declare class ComputeBudgetInstruction {
    static readonly programId: HexString;
    static setComputeUnitLimit(params: setComputeUnitLimitData): Instruction;
    static setComputeUnitPrice(params: setComputeUnitPriceData): Instruction;
}
export declare class TokenInstruction {
    static readonly TOKEN_PROGRAM_ID: HexString;
    static readonly ASSOCIATED_TOKEN_PROGRAM_ID: HexString;
    static readonly TOKEN2022_PROGRAM_ID: HexString;
    static createAssociatedTokenAccount(params: {
        payer: Base58String;
        owner: Base58String;
        mint: Base58String;
        program?: HexString;
    }): Instruction;
    static transfer(params: {
        from: Base58String;
        to: Base58String;
        owner: Base58String;
        amount: string | number;
        program?: HexString;
    }): Instruction;
    static closeAccount(params: {
        account: Base58String;
        owner: Base58String;
        program?: HexString;
    }): Instruction;
    static transferChecked(params: {
        from: Base58String;
        to: Base58String;
        owner: Base58String;
        mint: Base58String;
        decimal: number;
        amount: string | number;
        program?: HexString;
    }): Instruction;
}
export declare class StakeInstruction {
    static readonly programId: HexString;
    static initialize(params: {
        owner: Base58String;
        stake: Base58String;
    }): Instruction;
    static delegate(params: {
        owner: Base58String;
        stake: Base58String;
        vote: Base58String;
    }): Instruction;
    static withdraw(params: {
        owner: Base58String;
        stake: Base58String;
        lamports: number;
    }): Instruction;
    static deactivate(params: {
        owner: Base58String;
        stake: Base58String;
    }): Instruction;
}
