/*!
Copyright © 2024 Open Text Corporation, All Rights Reserved.

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
import { CurrentLocale } from '../models/current-locale';
import { DateObject } from '../models/date-object';
import { LocaleObject } from '../models/localeObject';
import { SystemConfig } from '../models/system-config';
export declare class OcpdDateLocalizationHelper {
    dateLocalizationHelper: OcpdDateLocalizationHelper;
    localeObjects: LocaleObject;
    currentLocale: CurrentLocale;
    private static _instance;
    systemConfig: SystemConfig;
    constructor();
    isOneDigitMonth(locale: any): boolean;
    isOneDigitDay(locale: any): boolean;
    isOneDigitHour(locale: any): boolean;
    isMilitaryTime(locale: any): boolean;
    setUpDateFormat(locale: any): LocaleObject;
    setAMPMPosition(localDate: any): any;
    getDateTimeDelimiter(localDate: any, hoursStart: any, dayStart: any): any;
    getTimeDelimiter(localDate: any): "." | ":" | " h ";
    getDateDelimiter(localDate: any, monthStart: any, dayStart: any, dayEnd: any, monthEnd: any): any;
    getFixedDateFormat(year: any, month: any, day: any, hour: any, minutes: any, locale: any, isDateTime: any): string;
    createlocalDate(year: any, month: any, day: any, hour: any, minutes: any, locale: any, isDateTime: any): string;
    isAscii(str: any): boolean;
    createDate(locale: any): string;
    createDateTimePlaceHolder(localDate: any, locale: any, dayStart: any, monthStart: any, yearStart: any, hoursStart: any, minutesStart: any, ampmStart: any): string;
    isPM(localisedDateString: any): boolean;
    parseDateString(localisedDateString: any, placeHolder: any, localeObject: any, locale: any, isDateTime: any): DateObject;
    createSortedDateObject(sortedPositions: any, numbersSplit: any, isAfternoon: any, isDateTime: any): DateObject;
    getDateFromString(dateString: any, isDateTime: any, locale: any): {
        localeDate: string;
        date: Date;
    };
    getDateTimePlaceHolder(): string;
    replaceAt(originalString: string, index: number, replacement: string): string;
    getDatePlaceHolder(): string;
    getLocaleObject(): CurrentLocale;
    getApplicationLocale(): string;
    getDefaultLocale(): string;
    localeIsInWhiteList(locale: string): boolean;
    systemHasWhiteList(): boolean;
    getFallbackLocale(locale: string): string;
}
