/** * log10x_backfill_metric: DEPRECATED, kept dark. Builds a TSDB metric from the * offloaded cohort in the customer's S3 overflow bucket. Not advertised: the live * routeState metric surface answers overflow-volume questions as a TSDB query. * Retained only for the narrow custom-dimension case. * * Reads the offloaded cohort for a pattern from the overflow bucket over a window, * aggregates it into a bucketed time series, and emits the result to the destination * TSDB with original timestamps preserved. * * Optionally wires forward emission via the live Reporter so the metric keeps * populating from current events. Coverage spans the window the offloaded bytes * were retained in S3, so the series reaches back as far as the bucket holds the * pattern, not further. * * Tier prerequisites: Retriever component required; Reporter required * only when emit_forward=true. */ import { z } from 'zod'; import type { EnvConfig } from '../lib/environments.js'; import { type AggregationType } from '../lib/aggregator.js'; import { type Destination } from '../lib/metric-emitters.js'; import { type StructuredOutput } from '../lib/output-types.js'; export declare const backfillMetricSchema: { pattern: z.ZodString; metric_name: z.ZodString; destination: z.ZodEnum<["datadog", "prometheus", "cloudwatch", "elastic"]>; bucket_size: z.ZodDefault; aggregation: z.ZodDefault>; from: z.ZodString; to: z.ZodDefault; group_by: z.ZodOptional>; filters: z.ZodOptional>; unique_field: z.ZodOptional; emit_forward: z.ZodDefault; environment: z.ZodOptional; view: z.ZodOptional>>; dry_run: z.ZodDefault; }; export declare function executeBackfillMetric(args: { pattern: string; metric_name: string; destination: Destination; bucket_size?: string; aggregation?: AggregationType; from: string; to?: string; group_by?: string[]; filters?: string[]; unique_field?: string; emit_forward?: boolean; environment?: string; view?: 'summary'; dry_run?: boolean; }, env: EnvConfig): Promise;