export declare const StatsCollectMsg: import("arktype/internal/variants/object.ts").ObjectType<{ type: "stats.collect"; streamId: string; timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To); }, {}>; export type StatsCollectMsg = typeof StatsCollectMsg.infer; export declare const isStatsCollect: (msg: unknown, streamId?: string) => msg is StatsCollectMsg; export declare function createStatsCollector(streamId: string, intervalMs?: number): TransformStream;