interface QueryResult {
    columns: string[];
    rows: any[];
    rowCount: number;
    truncated: boolean;
}
export declare class Db2QueryService {
    private jdbcUrl;
    private username;
    private password;
    private schema;
    private javaPath;
    constructor();
    testConnection(): Promise<boolean>;
    queryBySql(sql: string, limit?: number, offset?: number): Promise<QueryResult>;
    queryTables(tableNamePattern?: string, schemaPattern?: string, limit?: number): Promise<QueryResult>;
    queryTableColumns(tableName: string, schemaName?: string): Promise<QueryResult>;
    getDatabaseInfo(): Promise<QueryResult>;
    private executeJavaCommand;
    private runJavaProcess;
}
export {};
//# sourceMappingURL=db2-query-service.d.ts.map