import pg from 'pg';
import type { AdminContext } from './plugins/admin-context-plugin.js';
import type { UserType } from './plugins/auth-plugin.js';
import type { Environment } from './shared/types/index.js';
declare global {
    namespace GraphQLModules {
        interface GlobalContext {
            env: Environment;
            currentUser: UserType;
            adminContext: AdminContext;
        }
    }
}
export declare function createGraphQLApp(env: Environment, pool: pg.Pool): Promise<import("graphql-modules").Application>;
