import { APIFunction, ParamType } from "../../classes/structures/APIFunction";
import { CompiledFunction } from "../../classes/internal/CompiledFunction";
import { Data } from "../../classes/structures/Data";
import { IfBlock } from "../core/stmt";
/**
 * Represents a try block.
 */
export type TryBlock = Omit<IfBlock, "condition">;
export default class TryStatement extends APIFunction {
    name: string;
    description: string;
    parameters: {
        name: string;
        description: string;
        type: ParamType;
        required: boolean;
        rest: boolean;
        defaultValue: null;
    }[];
    usage: string;
    returns: ParamType;
    compile: boolean;
    aliases: never[];
    run(this: CompiledFunction, d: Data, [code]: string[]): Promise<void>;
}
