14 lines
333 B
TypeScript
14 lines
333 B
TypeScript
import type { SandpackClientDispatch, SandpackClientListen, SandpackState } from "../types";
|
|
/**
|
|
* @category Hooks
|
|
*/
|
|
export interface UseSandpack {
|
|
sandpack: SandpackState;
|
|
dispatch: SandpackClientDispatch;
|
|
listen: SandpackClientListen;
|
|
}
|
|
/**
|
|
* @category Hooks
|
|
*/
|
|
export declare function useSandpack(): UseSandpack;
|