import { computed } from 'vue';
const props = defineProps();
const ageMinutes = computed(() => Math.max(0, (Date.now() - new Date(props.asOf).getTime()) / 60_000));
const stale = computed(() => ageMinutes.value > props.staleAfterMinutes);
const __VLS_ctx = {
    ...{},
    ...{},
    ...{},
    ...{},
};
let __VLS_components;
let __VLS_intrinsics;
let __VLS_directives;
__VLS_asFunctionalElement1(__VLS_intrinsics.span, __VLS_intrinsics.span)({
    'aria-label': (__VLS_ctx.stale ? '데이터 지연' : '데이터 최신'),
    'data-status': (__VLS_ctx.stale ? 'stale' : 'fresh'),
});
(__VLS_ctx.stale ? 'STALE' : 'FRESH');
(new Date(props.asOf).toLocaleString());
// @ts-ignore
[stale, stale, stale,];
const __VLS_export = (await import('vue')).defineComponent({
    __typeProps: {},
});
export default {};
