import { KitPlatformService } from '../kit-platform/kit-platform.service'; /** * Provides [Moment.js](https://momentjs.com/) instance if available. * * Also you can manually inject Moment.js instance in the root module: * * ```typescript * import * as Moment from 'moment'; * import { kitMomentInstance } from '@ngx-kit/core'; * ... * @NgModule({ * ... * providers: [ * { * provide: kitMomentInstance, * useValue: Moment, * }, * ``` */ export declare class KitMomentProvider { private platform; private _moment; constructor(platform: KitPlatformService, momentInstance: any); /** * Get Moment.js instance. * Returns null if not available. */ readonly moment: T | null; }