export interface Attachment {
    app: {
        name: string;
    };
    config_vars: string[];
    name: string;
}
export interface Addon {
    id: string;
    name: string;
    plan: {
        name: string;
    };
}
export interface ClusterConfig {
    clientCert: string | undefined;
    clientCertKey: string | undefined;
    prefix?: string;
    trustedCert: string | undefined;
    url: string | undefined;
}
declare function deprecated(cmd: any, newCmd: string, newTopic?: string): any;
declare function clusterConfig(attachment: Attachment, config: Record<string, string>): ClusterConfig;
declare function isZookeeperAllowed(addon: Addon): boolean;
declare function parseBool(boolStr: string): boolean | undefined;
declare function parseDuration(durationStr: string): number | null;
declare function formatIntervalFromMilliseconds(milliseconds: number): string;
export { clusterConfig, deprecated, formatIntervalFromMilliseconds, isZookeeperAllowed, parseBool, parseDuration, };
