import { h } from "@stencil/core";
import { createProviderConsumer } from '@stencil/state-tunnel';
export const datetimeFormatOptions = {
    year: 'numeric',
    month: 'numeric',
    day: 'numeric',
    hour: 'numeric',
    minute: 'numeric',
    hour12: true
};
export default createProviderConsumer({
    dictionary: {},
    dateFormat: 'M/d/yyyy',
    dateFormatter: Intl.DateTimeFormat('en-US').format,
    datetimeFormatter: Intl.DateTimeFormat('en-US', datetimeFormatOptions).format,
    language: 'en',
    locale: 'en-US',
    numberFormatter: Intl.NumberFormat('en-US').format,
    timezoneOverride: undefined,
    translator: (val) => val
}, (subscribe, child) => (h("context-consumer", { subscribe: subscribe, renderer: child })));
