export default function definePrecondition(fn: (...args: TArgs) => Promise): { hasDonePrecondition: () => boolean; callPrecondition: (...args: TArgs) => Promise; resetPrecondition: () => void; };