import { type ReactElement } from 'react';
import { render } from '@atlassian/testing-library';
import type { Ari, Environment, InvocationResponse, InvocationResult, UserInputs } from './types';
type RenderOptions = NonNullable<Parameters<typeof render>[1]>;
type RenderResult = ReturnType<typeof render>;
/**
 * Creates a stubbed invocation API call for triggering rules. Will return
 * the supplied invocation result for all objects the rule was called
 * for.
 */
export declare const createStubInvokeManuallyTriggeredRule: (stubbedInvocationResultForAllObjects: InvocationResult, responseDelay?: number) => (_env: Environment | null, _site: Ari, _ruleId: number, objects: string[], _inputs?: UserInputs) => Promise<InvocationResponse>;
/**
 * Render into a container which is appended to `document.body`.
 *
 * Includes `IntlProvider` wrapper
 *
 * @param node The React element to render
 * @param dependencies List of React Magnetic DI dependencies to inject
 * @param options React Testing Library options
 */
export declare const renderWithDi: (node: ReactElement, dependencies?: any[], options?: RenderOptions & {
    target?: any;
}) => RenderResult;
export declare const createGenericComponent: <T extends any = any>(displayName: string, renderChildren?: boolean, childrenParams?: unknown) => T;
export {};
