import { AxiosResponse } from 'axios'; import { Config } from './config'; import Request from './request'; import { CasdoorResponse } from './util'; export interface Record { id?: number; owner: string; name: string; createdTime?: string; organization?: string; clientIp?: string; user?: string; method?: string; requestUri?: string; action?: string; language?: string; object?: string; response?: string; statusCode?: number; detail?: string; isTriggered?: boolean; } export declare class RecordSDK { private config; private readonly request; constructor(config: Config, request: Request); getRecords(): Promise, any>>; getPaginationRecords(p: number, pageSize: number, queryMap?: { [key: string]: string; }): Promise, any>>; getRecord(name: string): Promise>>; addRecord(record: Record): Promise>; }