import { Document, PluginConfig } from 'src/lib'; /** * Run codegen if the file change resulted in a change in the extracted gql documents * @param extractedDocuments previously extracted documents - maps file paths to extracted graphql documents * @param absolutePath path t the file that changed * @param opts opts given to the vite plugin * @returns nothing */ export declare function maybeCodegen(extractedDocuments: Record, absolutePath: string | null, opts?: PluginConfig): Promise;