import type { ICredentialDataDecryptedObject } from 'n8n-workflow'; import type { ManagedVersionEntry, ParsedCredentialsOverwrites } from './interfaces'; export declare const VERSIONS_PAYLOAD_KEY = "__versions"; export declare function isManagedVersion(value: unknown): value is number; export declare function isManagedVersionEntry(value: unknown): value is ManagedVersionEntry; export declare function hasEmptyClientFields(data: ICredentialDataDecryptedObject, clientFields: readonly string[]): boolean; export declare function hasClientFields(entry: Record, clientFields: readonly string[]): boolean; export declare function hasTokenData(data: ICredentialDataDecryptedObject): boolean; export declare function withoutVersion(entry: ManagedVersionEntry): ICredentialDataDecryptedObject; export declare function readStoredVersion(data: ICredentialDataDecryptedObject): number | undefined; export declare function hasInvalidStoredVersion(data: ICredentialDataDecryptedObject): boolean; export declare function nearestValue(type: string, parentTypes: readonly string[], values: Record): T | undefined; export declare function withTokenVersion(tokenData: ICredentialDataDecryptedObject, version: number): ICredentialDataDecryptedObject; export declare function parseOverwritesPayload(payload: unknown, clientFieldsOf: (type: string) => readonly string[] | undefined, isKnownType: (type: string) => boolean, parentTypesOf: (type: string) => readonly string[]): ParsedCredentialsOverwrites;