import { TConfig } from '../../types/shim';
import BaseSDK from './BaseSDK.js';
declare class ConfigSDK extends BaseSDK<'configs'> {
    private baseDir;
    constructor(baseDir?: string);
    getConfig(c: TConfig): {
        name: string;
        description: string | undefined;
        configPath: string;
    };
    add(c: TConfig): Promise<boolean>;
    update(prevName: string, c: TConfig): Promise<boolean>;
    remove(name: string): Promise<boolean>;
    get(name: string): Promise<TConfig>;
    getOpt(name: string): Promise<import("@hlink/core").TAllConfig>;
    default(): Promise<string>;
    exist(name: string): boolean;
    getList(): Promise<TConfig[]>;
}
declare const _default: ConfigSDK;
export default _default;
export { ConfigSDK };
