import { GraphQLSchema } from 'graphql'; import { Dictionary } from 'ts-essentials'; /** * Utility class for functions that rely on the GraphQL schema of a Faros graph */ export declare class FarosGraphSchema { private readonly objectTypeDefs; constructor(schema: GraphQLSchema); /** * Given a JSON record and a Faros model, convert the necessary date fields in * the record to: Javascript dates (Timestamp fields) or ISO formatted string * (timestamptz fields) * Records for models unknown to the schema are returned unchanged */ fixTimestampFields(record: Dictionary, model: string): any; }