///
export type OffchainConfig = {
deltaProgressNanoseconds: string;
deltaResendNanoseconds: string;
deltaRoundNanoseconds: string;
deltaGraceNanoseconds: string;
deltaStageNanoseconds: string;
rMax: number;
s: number[];
offchainPublicKeys: string[];
peerIds: string[];
reportingPluginConfig: T;
maxDurationQueryNanoseconds: string;
maxDurationObservationNanoseconds: string;
maxDurationReportNanoseconds: string;
maxDurationShouldAcceptFinalizedReportNanoseconds: string;
maxDurationShouldTransmitAcceptedReportNanoseconds: string;
configPublicKeys?: string[];
};
export declare const serializeOffchainConfig: (input: OffchainConfig, gauntletSecret: string, secret?: string) => Promise<{
offchainConfig: Buffer;
randomSecret: string;
}>;
export declare const generateSecretWords: () => Promise;
export declare const deserializeConfig: (buffer: Buffer) => OffchainConfig;
export declare const descriptor: {
nested: {
offchainreporting2_config: {
nested: {
OffchainConfigProto: {
fields: {
deltaProgressNanoseconds: {
type: string;
id: number;
};
deltaResendNanoseconds: {
type: string;
id: number;
};
deltaRoundNanoseconds: {
type: string;
id: number;
};
deltaGraceNanoseconds: {
type: string;
id: number;
};
deltaStageNanoseconds: {
type: string;
id: number;
};
rMax: {
type: string;
id: number;
};
s: {
rule: string;
type: string;
id: number;
};
offchainPublicKeys: {
rule: string;
type: string;
id: number;
};
peerIds: {
rule: string;
type: string;
id: number;
};
reportingPluginConfig: {
type: string;
id: number;
};
maxDurationQueryNanoseconds: {
type: string;
id: number;
};
maxDurationObservationNanoseconds: {
type: string;
id: number;
};
maxDurationReportNanoseconds: {
type: string;
id: number;
};
maxDurationShouldAcceptFinalizedReportNanoseconds: {
type: string;
id: number;
};
maxDurationShouldTransmitAcceptedReportNanoseconds: {
type: string;
id: number;
};
sharedSecretEncryptions: {
type: string;
id: number;
};
};
};
SharedSecretEncryptionsProto: {
fields: {
diffieHellmanPoint: {
type: string;
id: number;
};
sharedSecretHash: {
type: string;
id: number;
};
encryptions: {
rule: string;
type: string;
id: number;
};
};
};
};
};
};
};
//# sourceMappingURL=encoding.d.ts.map