import { CommandTree } from './types.js';
export interface ModuleConfiguration {
    commands?: Record<string, object>;
    [k: string]: any;
}
export interface Settings {
    default?: CommandTree;
    apiPort?: number;
    apiHost?: string;
    key?: string;
    remoteHost?: string;
    invalidKeyPenalty?: number;
}
export declare function getCloudyConfig(filePath?: string): Promise<Settings>;
export declare function findFile(): string;
export declare function getConfig<T extends ModuleConfiguration>(moduleName: string, defaults?: T): T;
