UNPKG

piral-core

Version:

The core library for creating a Piral instance.

8 lines (7 loc) 285 B
/** * Uses the global state context to retrieve the pilet API stored * for the root pilet. This allows interaction with the pilet API * from the app shell. * @returns The pilet API object of the root pilet. */ export declare function usePiletApi(): import("piral-base").PiletApi;