import { Schema } from '@klayr/codec';
import { ConfigActionPayload } from '../types';
import { Types } from '@swaptoshi/utils';
export declare function encodeConfigProposalValue<T extends object, P extends Types.ConfigPathKeys<T>>(configSchema: Schema, path: P, value: Types.ConfigPathType<T, P>): Buffer<ArrayBufferLike>;
export declare function decodeConfigProposalValue<T extends object, P extends Types.ConfigPathKeys<T>>(configSchema: Schema, payload: ConfigActionPayload): Types.ConfigPathType<T, P>;
export declare function encodeConfigProposalPayload<T extends object, P extends Types.ConfigPathKeys<T>>(configSchema: Schema, moduleName: string, paramPath: P, configValue: Types.ConfigPathType<T, P>): Buffer<ArrayBufferLike>;
export declare function decodeConfigProposalPayload(encodedPayload: Buffer): ConfigActionPayload;
