export const PATCH_STORAGE_FORMAT = 'v17';
export const PATCH_STORAGE_SCHEMA_GIT_CAS_CBOR_PATCH = 'git-cas-cbor-patch-v1';
export const CHECKPOINT_STORAGE_FORMAT = 'v5';
export const LEGACY_GIT_BLOB_PATCH_STORAGE = Object.freeze({
    strategy: 'legacy-git-blob',
    version: null,
    schema: null,
    encrypted: false,
});
export const LEGACY_EXTERNAL_PATCH_STORAGE = Object.freeze({
    strategy: 'legacy-external-storage',
    version: null,
    schema: null,
    encrypted: true,
});
export function createGitCasPatchStorage(encrypted) {
    return Object.freeze({
        strategy: 'git-cas',
        version: PATCH_STORAGE_FORMAT,
        schema: PATCH_STORAGE_SCHEMA_GIT_CAS_CBOR_PATCH,
        encrypted,
    });
}
export function isGitCasPatchStorage(storage) {
    return storage.strategy === 'git-cas';
}
export default class CommitMessageCodecPort {
}
