import type { Mock } from "vitest"; /** like {@link Partial} but applies to all deep properties */ export type DeepPartial = T | (T extends object ? { [K in keyof T]?: DeepPartial; } : T extends (infer U)[] ? DeepPartial[] : T); /** tells typescript that this function is mocked */ export declare const m: (func: unknown) => Mock; /** helper to let us define type-safe partial mocks */ export declare const deepPartial: (partial: DeepPartial) => T;