/** * .what = declare a resource to be prepared before tests * .why = simplifies devexp via `const thing = usePrep(...)` syntax * .mode = * - 'beforeAll': prepare once for all tests * - 'beforeEach': prepare fresh for each test run */ export declare const usePrep: >(setup: () => Promise, options?: { mode: 'beforeAll' | 'beforeEach'; }) => T; export declare const useBeforeAll: >(setup: Parameters>[0]) => ReturnType>; export declare const useBeforeEach: >(setup: Parameters>[0]) => ReturnType>;