///
import { FunctionsReportingPlugin } from './types';
import { OffchainConfig } from '@chainlink/evm-gauntlet-ocr/dist/lib/ocr2';
export declare const reportingPluginConfigDescriptor: {
nested: {
AggregationMethod: {
options: {};
values: {
AGGREGATION_MODE: number;
AGGREGATION_MEDIAN: number;
};
};
ThresholdReportingPluginConfig: {
fields: {
maxQueryLengthBytes: {
type: string;
id: number;
};
maxObservationLengthBytes: {
type: string;
id: number;
};
maxReportLengthBytes: {
type: string;
id: number;
};
requestCountLimit: {
type: string;
id: number;
};
requestTotalBytesLimit: {
type: string;
id: number;
};
requireLocalRequestCheck: {
type: string;
id: number;
};
K: {
type: string;
id: number;
};
};
};
S4ReportingPluginConfig: {
fields: {
maxQueryLengthBytes: {
type: string;
id: number;
};
maxObservationLengthBytes: {
type: string;
id: number;
};
maxReportLengthBytes: {
type: string;
id: number;
};
nSnapshotShards: {
type: string;
id: number;
};
maxObservationEntries: {
type: string;
id: number;
};
maxReportEntries: {
type: string;
id: number;
};
maxDeleteExpiredEntries: {
type: string;
id: number;
};
};
};
ReportingPluginConfig: {
fields: {
maxQueryLengthBytes: {
type: string;
id: number;
};
maxObservationLengthBytes: {
type: string;
id: number;
};
maxReportLengthBytes: {
type: string;
id: number;
};
maxRequestBatchSize: {
type: string;
id: number;
};
defaultAggregationMethod: {
type: string;
id: number;
};
uniqueReports: {
type: string;
id: number;
};
thresholdPluginConfig: {
type: string;
id: number;
};
s4PluginConfig: {
type: string;
id: number;
};
maxReportTotalCallbackGas: {
type: string;
id: number;
};
};
};
};
};
export declare const deserializeReportingPluginConfig: (serializedConfig: Buffer) => FunctionsReportingPlugin;
export declare const getSerializedReportingPluginConfig: (rpConfig: FunctionsReportingPlugin) => Buffer;
export type ConfigSetInfo = {
signers: string[];
offchainTransmitters: string[];
f: number;
onchainConfig: Buffer;
offchainConfigVersion: number;
offchainConfig: // type has mismatching casing, kludge to fix. favoring protobuf type casing
Omit & {
offchainPublicKeys: string[];
reportingPluginConfig: FunctionsReportingPlugin;
};
};
export declare function formatConfigSetInfo(config: ConfigSetInfo): {
signers: string[];
offchainTransmitters: string[];
f: number;
onchainConfig: Buffer;
offchainConfigVersion: number;
offchainConfig: {
deltaProgress: string;
deltaResend: string;
deltaRound: string;
deltaGrace: string;
deltaStage: string;
rMax: Number;
s: Number[];
configPublicKeys: string[];
offchainPublicKeys: string[];
peerIds: string[];
maxDurationQuery: string;
maxDurationObservation: string;
maxDurationReport: string;
maxDurationAccept: string;
maxDurationTransmit: string;
reportingPluginConfig: {
maxQueryLengthBytes: string;
maxObservationLengthBytes: string;
maxReportLengthBytes: string;
maxRequestBatchSize: string;
defaultAggregationMethod: any;
uniqueReports: boolean;
maxReportTotalCallbackGas: string;
thresholdReportingPluginConfig: {
thresholdMaxQueryLengthBytes: string;
thresholdMaxObservationLengthBytes: string;
thresholdMaxReportLengthBytes: string;
thresholdRequestCountLimit: string;
thresholdRequestTotalBytesLimit: string;
thresholdRequireLocalRequestCheck: boolean;
thresholdK: string;
};
s4ReportingPluginConfig: {
s4MaxObservationLengthBytes: string;
s4MaxQueryLengthBytes: string;
s4MaxReportLengthBytes: string;
s4SnapshotShards: string;
s4MaxObservationEntries: string;
s4MaxReportEntries: string;
s4MaxDeleteExpiredEntries: string;
};
};
};
};
export declare function logConfigSetInfoDifferences(config1: ConfigSetInfo, config2: ConfigSetInfo, deps: any): void;
//# sourceMappingURL=encoding.d.ts.map