import { PlatformConfig } from 'homebridge';
export type YaleSyncKeypadPlatformConfig = PlatformConfig & {
    username?: string;
    password?: string;
    backgroundRefresh?: boolean;
    refreshInterval?: number;
};
export declare class YaleConfigHandler {
    /**
     * Decode the user's config file into a YaleSyncKeypadPlatformConfig object
     * @param config The config from the user
     * @returns The decoded config
     */
    static decode(config: PlatformConfig): YaleSyncKeypadPlatformConfig;
    /**
     * Check if the config is valid by checking if all required fields are present and some restrictions are met and return an error message if not
     * @param config The YaleSyncKeypadPlatformConfig object to validate
     * @returns An error message if the config is invalid, otherwise null
     */
    static validate(config: YaleSyncKeypadPlatformConfig): string | null;
}
