@donverduyn/react-runtime
Version:
effect-ts react integration
16 lines (15 loc) • 938 B
TypeScript
import type { ScopeId } from '@/types';
export { type DryRunApi } from './factories/DryRunFactory';
export { useDryRunTracker } from './hooks/useDryRunTracker';
export { useDryRunContext } from './hooks/useDryRunContext';
export declare const useDryRunInstance: {
(...args: [ScopeId] | [scopeId: ScopeId, Component: import("react").FC<object>, props: object, declarationId: import("@/types").DeclarationId]): import("./useDryRun").DryRunApi;
getByKey(scopeId: string): import("./useDryRun").DryRunApi | undefined;
};
export declare const useDryRun: () => {
getInstance: (scopeId: ScopeId) => import("./useDryRun").DryRunApi;
};
export declare const createDryRun: {
(...args: [ScopeId] | [scopeId: ScopeId, Component: import("react").FC<object>, props: object, declarationId: import("@/types").DeclarationId]): import("./useDryRun").DryRunApi;
getByKey(scopeId: string): import("./useDryRun").DryRunApi | undefined;
};