import { Result, ResultValueType } from '@fgv/ts-utils';
declare global {
    namespace jest {
        interface Matchers<R, T> {
            /**
             * Use .toSucceedWith to verify that a Result\<T\> is a success
             * and that the result value matches the supplied value
             * @param expected -
             */
            toSucceedWith(expected: ResultValueType<T> | RegExp): R;
        }
    }
}
declare const _default: {
    toSucceedWith: <T extends Result<unknown>>(received: T, expected: ResultValueType<T> | RegExp) => jest.CustomMatcherResult;
};
export default _default;
//# sourceMappingURL=index.d.ts.map