import { isCompletionProof } from '../proof/proof-schema.js';
import { ValidationError } from './validation-error.js';
export function parseCompletionProof(value) {
    if (!isCompletionProof(value))
        throw new ValidationError('sks.completion-proof.v1');
    return value;
}
//# sourceMappingURL=completion-proof-validator.js.map