///
///
///
import type { JestConfigWithTsJest } from 'ts-jest';
import type { RequestLocals, ServiceFactory, ServiceExpress, ServiceLocals, ServiceStartOptions } from '@gasbuddy/service';
export declare function getExistingApp(): ServiceExpress;
export declare function getReusableApp(initialOptions?: Partial> | ServiceFactory, cwd?: string): Promise>;
export declare function clearReusableApp(): Promise;
export declare function getSimulatedContext(config?: Record): Promise<{
name: string;
config: {
get(key: string): any;
};
logger: {
assert(condition?: boolean | undefined, ...data: any[]): void;
assert(value: any, message?: string | undefined, ...optionalParams: any[]): void;
clear(): void;
clear(): void;
count(label?: string | undefined): void;
count(label?: string | undefined): void;
countReset(label?: string | undefined): void;
countReset(label?: string | undefined): void;
debug(...data: any[]): void;
debug(message?: any, ...optionalParams: any[]): void;
dir(item?: any, options?: any): void;
dir(obj: any, options?: import("util").InspectOptions | undefined): void;
dirxml(...data: any[]): void;
dirxml(...data: any[]): void;
error(...data: any[]): void;
error(message?: any, ...optionalParams: any[]): void;
group(...data: any[]): void;
group(...label: any[]): void;
groupCollapsed(...data: any[]): void;
groupCollapsed(...label: any[]): void;
groupEnd(): void;
groupEnd(): void;
info(...data: any[]): void;
info(message?: any, ...optionalParams: any[]): void;
log(...data: any[]): void;
log(message?: any, ...optionalParams: any[]): void;
table(tabularData?: any, properties?: string[] | undefined): void;
table(tabularData: any, properties?: readonly string[] | undefined): void;
time(label?: string | undefined): void;
time(label?: string | undefined): void;
timeEnd(label?: string | undefined): void;
timeEnd(label?: string | undefined): void;
timeLog(label?: string | undefined, ...data: any[]): void;
timeLog(label?: string | undefined, ...data: any[]): void;
timeStamp(label?: string | undefined): void;
timeStamp(label?: string | undefined): void;
trace(...data: any[]): void;
trace(message?: any, ...optionalParams: any[]): void;
warn(...data: any[]): void;
warn(message?: any, ...optionalParams: any[]): void;
Console: console.ConsoleConstructor;
profile(label?: string | undefined): void;
profileEnd(label?: string | undefined): void;
level: string;
silent(): void;
fatal: (...args: any) => void;
};
}>;
export declare function mockServiceCall>>(service: TargetService, method: M): {
mockResolvedValue: (sim: Partial>[M] extends jest.Func ? jest.SpyInstance>[M]>, jest.ArgsType>[M]>, any> : never)["mockResolvedValue"]>[0]>) => jest.FunctionProperties>[M] extends jest.Func ? jest.SpyInstance>[M]>, jest.ArgsType>[M]>, any> : never;
mockResolvedValueOnce: (sim: Partial>[M] extends jest.Func ? jest.SpyInstance>[M]>, jest.ArgsType>[M]>, any> : never)["mockResolvedValue"]>[0]>) => jest.FunctionProperties>[M] extends jest.Func ? jest.SpyInstance>[M]>, jest.ArgsType>[M]>, any> : never;
mockRejectedValue: (sim: Partial>[M] extends jest.Func ? jest.SpyInstance>[M]>, jest.ArgsType>[M]>, any> : never)["mockResolvedValue"]>[0]>) => jest.FunctionProperties>[M] extends jest.Func ? jest.SpyInstance>[M]>, jest.ArgsType>[M]>, any> : never;
mockRejectedValueOnce: (sim: Partial>[M] extends jest.Func ? jest.SpyInstance>[M]>, jest.ArgsType>[M]>, any> : never)["mockResolvedValue"]>[0]>) => jest.FunctionProperties>[M] extends jest.Func ? jest.SpyInstance>[M]>, jest.ArgsType>[M]>, any> : never;
spy: jest.FunctionProperties>[M] extends jest.Func ? jest.SpyInstance>[M]>, jest.ArgsType>[M]>, any> : never;
};
export declare const jestConfig: JestConfigWithTsJest;
export { default as request } from 'supertest';