///
import type { TestManagerPlugin } from '@rhangai/nest-testing/types';
import request from 'supertest';
declare type TestManagerE2EGraphqlOptions = {
query: (gql: typeof String.raw) => string;
variables?: Record;
expect?: unknown;
spyOn?: () => jest.SpyInstance | jest.SpyInstance[];
setup?: (req: request.Test) => request.Test;
};
export declare type TestManagerE2E = {
request: () => ReturnType;
graphql: (options: TestManagerE2EGraphqlOptions) => Promise<{
data: any;
response: request.Response;
}>;
};
export declare type TestPluginE2EOptions = {
path?: string;
headers?: Record;
imports?: () => any[];
};
export declare function testPluginE2E(pluginOptions?: TestPluginE2EOptions): TestManagerPlugin;
export {};