export declare class K8sClient {
    kubeConfigStr: string;
    lookup: any;
    client: any;
    constructor(kubeConfigStr: string);
    init(): void;
    /**
     *
     * @param localRecords {  [domain]:{ip:'xxx.xx.xxx'} }
     */
    setLookup(localRecords: {
        [key: string]: {
            ip: string;
        };
    }): void;
    /**
     * 查询 secret列表
     * @param opts = {namespace:default}
     * @returns secretsList
     */
    getSecret(opts: {
        namespace: string;
    }): Promise<any>;
    /**
     * 创建Secret
     * @param opts {namespace:default, body:yamlStr}
     * @returns {Promise<*>}
     */
    createSecret(opts: any): Promise<any>;
    updateSecret(opts: any): Promise<any>;
    patchSecret(opts: any): Promise<any>;
    getIngressList(opts: any): Promise<any>;
    getIngress(opts: any): Promise<any>;
    patchIngress(opts: any): Promise<any>;
}
