import type { Context } from '@txstate-mws/graphql-server'; import type { FastifyTxStateAuthInfo } from 'fastify-txstate'; import type { GraphQLError } from 'graphql'; /** * Records one row per successful mutation. Runs from the server's `after` hook for GraphQL * mutations and is called directly by the RESTful upload routes. `auth` is the object built by * the authenticate callback: `username` for a user, `clientId` for a service token. */ export declare function logMutation(queryTime: number, operationName: string | undefined, query: string, auth: FastifyTxStateAuthInfo | undefined, variables: any, data: any, errors: GraphQLError[] | undefined, ctx: Context): Promise;