/** * @since 0.1.0 */ import * as B from "bun:test"; import type * as Duration from "effect/Duration"; import type * as Effect from "effect/Effect"; import type * as FC from "effect/FastCheck"; import type * as Layer from "effect/Layer"; import type * as Schema from "effect/Schema"; import type * as Scope from "effect/Scope"; import type * as TestServices from "effect/TestServices"; import type { BunTest } from "./types.js"; export declare const afterAll: typeof B.afterAll; export declare const afterEach: typeof B.afterEach; export declare const beforeAll: typeof B.beforeAll; export declare const beforeEach: typeof B.beforeEach; export declare const describe: B.Describe<[]>; export declare const expect: B.Expect; export declare const jest: typeof B.jest; export declare const mock: { any>(Function?: T): B.Mock; module(id: string, factory: () => any): void | Promise; restore(): void; clearAllMocks(): void; }; export declare const setDefaultTimeout: typeof B.setDefaultTimeout; export declare const setSystemTime: typeof B.setSystemTime; export declare const spyOn: typeof B.spyOn; export declare const test: B.Test<[]>; export type * from "bun:test"; export type { BunTest } from "./types.js"; export declare const addEqualityTesters: () => void; export declare const effect: BunTest.Tester; export declare const scoped: BunTest.Tester; export declare const live: BunTest.Tester; export declare const scopedLive: BunTest.Tester; export declare const layer: (layer_: Layer.Layer, options?: { readonly memoMap?: Layer.MemoMap; readonly timeout?: Duration.DurationInput; }) => { (f: (it: BunTest.Methods) => void): void; (name: string, f: (it: BunTest.Methods) => void): void; }; export declare const flakyTest: (self: Effect.Effect, timeout?: Duration.DurationInput) => Effect.Effect; export declare const prop: (name: string, arbitraries: Arbs, self: (props: { [K in keyof Arbs]: Arbs[K] extends FC.Arbitrary ? T : Schema.Schema.Type; }) => void, options?: number | { timeout?: number; fastCheck?: FC.Parameters<{ [K in keyof Arbs]: Arbs[K] extends FC.Arbitrary ? T : Schema.Schema.Type; }>; }) => void; export declare const it: BunTest.Methods; export * as types from "./types.js"; //# sourceMappingURL=index.d.ts.map