import type { TestableAgentOptions } from './types'; import type { Agent } from '@forestadmin/agent'; import type { TSchema } from '@forestadmin/datasource-customizer'; import ForestServerSandbox from './forest-server-sandbox'; import SchemaPathManager from './schema-path-manager'; import TestableAgent from './testable-agent'; import TestableAgentBase from './testable-agent-base'; export { AgentOptions, Agent } from '@forestadmin/agent'; export * from './types'; export { SchemaPathManager, ForestServerSandbox, TestableAgent }; export type AgentTestClient = TestableAgentBase; /** @deprecated Use AgentTestClient instead */ export type ForestAgentClient = TestableAgentBase; /** * Create a forest server sandbox * It is useful to test the agent if you use the createAgentTestClient way to test your agent * @param port */ export declare function createForestServerSandbox(port: number): Promise; /** * Create a test client to test your agent customizations * by sending requests to the agent like the frontend does. * With this client, you should start your agent by yourself. * You can test any agent with this client (python, ruby, nodeJs, etc.) * @param options */ export declare function createAgentTestClient(options: { agentForestEnvSecret: string; agentForestAuthSecret: string; agentUrl: string; serverUrl: string; agentSchemaPath: string; }): Promise; /** * @deprecated Use createAgentTestClient with createForestServerSandbox instead. * * Create a testable agent * You can test your agentNodejs customizations by injecting your customizations. * It will start the agent for you. You don't need to start the agent by yourself and a server. * * @param customizer * @param options */ export declare function createTestableAgent(customizer: (agent: Agent) => void, options?: TestableAgentOptions): Promise>; /** @deprecated Use createAgentTestClient instead */ export declare const createForestAgentClient: typeof createAgentTestClient; //# sourceMappingURL=index.d.ts.map