import { Serializable } from '../../../internal/interfaces/serializable';
export declare class GetBorrowHistoryReq implements Serializable {
    /**
     * currency
     */
    currency?: string;
    /**
     * true-isolated, false-cross; default is false
     */
    isIsolated?: boolean;
    /**
     * symbol, mandatory for isolated margin account
     */
    symbol?: string;
    /**
     * Borrow Order ID
     */
    orderNo?: string;
    /**
     * The start and end times are not restricted. If the start time is empty or less than 1680278400000, the default value is set to 1680278400000 (April 1, 2023, 00:00:00)
     */
    startTime?: number;
    /**
     * End time
     */
    endTime?: number;
    /**
     * Current query page, with a starting value of 1. Default:1
     */
    currentPage?: number;
    /**
     * Number of results per page. Default is 50, minimum is 10, maximum is 500
     */
    pageSize?: number;
    /**
     * Private constructor, please use the corresponding static methods to construct the object.
     */
    private constructor();
    /**
     * Creates a new instance of the `GetBorrowHistoryReq` class.
     * The builder pattern allows step-by-step construction of a `GetBorrowHistoryReq` object.
     */
    static builder(): GetBorrowHistoryReqBuilder;
    /**
     * Creates a new instance of the `GetBorrowHistoryReq` class with the given data.
     */
    static create(data: {
        /**
         * currency
         */
        currency?: string;
        /**
         * true-isolated, false-cross; default is false
         */
        isIsolated?: boolean;
        /**
         * symbol, mandatory for isolated margin account
         */
        symbol?: string;
        /**
         * Borrow Order ID
         */
        orderNo?: string;
        /**
         * The start and end times are not restricted. If the start time is empty or less than 1680278400000, the default value is set to 1680278400000 (April 1, 2023, 00:00:00)
         */
        startTime?: number;
        /**
         * End time
         */
        endTime?: number;
        /**
         * Current query page, with a starting value of 1. Default:1
         */
        currentPage?: number;
        /**
         * Number of results per page. Default is 50, minimum is 10, maximum is 500
         */
        pageSize?: number;
    }): GetBorrowHistoryReq;
    /**
     * Convert the object to a JSON string.
     */
    toJson(): string;
    /**
     * Create an object from a JSON string.
     */
    static fromJson(input: string): GetBorrowHistoryReq;
    /**
     * Create an object from Js Object.
     */
    static fromObject(jsonObject: Object): GetBorrowHistoryReq;
}
export declare class GetBorrowHistoryReqBuilder {
    readonly obj: GetBorrowHistoryReq;
    constructor(obj: GetBorrowHistoryReq);
    /**
     * currency
     */
    setCurrency(value: string): GetBorrowHistoryReqBuilder;
    /**
     * true-isolated, false-cross; default is false
     */
    setIsIsolated(value: boolean): GetBorrowHistoryReqBuilder;
    /**
     * symbol, mandatory for isolated margin account
     */
    setSymbol(value: string): GetBorrowHistoryReqBuilder;
    /**
     * Borrow Order ID
     */
    setOrderNo(value: string): GetBorrowHistoryReqBuilder;
    /**
     * The start and end times are not restricted. If the start time is empty or less than 1680278400000, the default value is set to 1680278400000 (April 1, 2023, 00:00:00)
     */
    setStartTime(value: number): GetBorrowHistoryReqBuilder;
    /**
     * End time
     */
    setEndTime(value: number): GetBorrowHistoryReqBuilder;
    /**
     * Current query page, with a starting value of 1. Default:1
     */
    setCurrentPage(value: number): GetBorrowHistoryReqBuilder;
    /**
     * Number of results per page. Default is 50, minimum is 10, maximum is 500
     */
    setPageSize(value: number): GetBorrowHistoryReqBuilder;
    /**
     * Get the final object.
     */
    build(): GetBorrowHistoryReq;
}
