import { DateRenderer } from "../textformat/formatDate.js"; import { ListColumn } from "./ListFormatter.js"; type ResourceWithCreatedAt = { createdAt: string; }; export declare function isResourceWithCreatedAt(resource: Record): resource is ResourceWithCreatedAt; /** * ListDateColumnFormatter is a helper class to create a column for a list * formatter that can handle date formatting. */ export default class ListDateColumnFormatter { private readonly flags; constructor(flags: { [k: string]: unknown; }); get renderDate(): DateRenderer; buildColumn({ header, fallback, column, extended, }?: { header?: string; fallback?: string; column?: TColumnName | "createdAt"; extended?: boolean; }): ListColumn<{ [k: string]: unknown; }>; } export {};