import { _SPInstance, _SPCollection } from "../spqueryable.js"; export declare class _RegionalSettings extends _SPInstance { /** * Gets time zone */ get timeZone(): ITimeZone; /** * Gets time zones */ get timeZones(): ITimeZones; /** * Gets the collection of languages used in a server farm. */ getInstalledLanguages(): Promise; } export interface IRegionalSettings extends _RegionalSettings { } export declare const RegionalSettings: import("../spqueryable.js").ISPInvokableFactory; export declare class _TimeZone extends _SPInstance { /** * Gets an Local Time by UTC Time * * @param utcTime UTC Time as Date or ISO String */ utcToLocalTime(utcTime: string | Date): Promise; /** * Gets an UTC Time by Local Time * * @param localTime Local Time as Date or ISO String */ localTimeToUTC(localTime: string | Date): Promise; } export interface ITimeZone extends _TimeZone { } export declare const TimeZone: import("../spqueryable.js").ISPInvokableFactory; export declare class _TimeZones extends _SPCollection { /** * Gets an TimeZone by id (see: https://msdn.microsoft.com/en-us/library/office/jj247008.aspx) * * @param id The integer id of the timezone to retrieve */ getById(id: number): Promise; } export interface ITimeZones extends _TimeZones { } export declare const TimeZones: import("../spqueryable.js").ISPInvokableFactory; /** * This is the data for Regional Settings */ export interface IRegionalSettingsInfo { AdjustHijriDays: number; AlternateCalendarType: number; AM: string; CalendarType: number; Collation: number; CollationLCID: number; DateFormat: number; DateSeparator: string; DecimalSeparator: string; DigitGrouping: string; FirstDayOfWeek: number; FirstWeekOfYear: number; IsEastAsia: boolean; IsRightToLeft: boolean; IsUIRightToLeft: boolean; ListSeparator: string; LocaleId: number; NegativeSign: string; NegNumberMode: number; PM: string; PositiveSign: string; ShowWeeks: boolean; ThousandSeparator: string; Time24: boolean; TimeMarkerPosition: number; TimeSeparator: string; WorkDayEndHour: number; WorkDays: number; WorkDayStartHour: number; } export interface IInstalledLanguageInfo { DisplayName: string; LanguageTag: string; Lcid: number; } export interface ITimeZoneInfo { Description: string; Id: number; Information: { Bias: number; DaylightBias: number; StandardBias: number; }; } export interface IUserResources { /** * Gets the resource string for the title */ titleResource(cultureName: string): Promise; /** * Gets the resource string for the title description */ descriptionResource(cultureName: string): Promise; } //# sourceMappingURL=types.d.ts.map