export type JsonRecord = Record; export declare function isRecord(value: unknown): value is JsonRecord; export declare function getArgs(args: unknown): JsonRecord; export declare function readString(obj: JsonRecord, key: string, required: true): string; export declare function readString(obj: JsonRecord, key: string, required?: false): string | undefined; export declare function readStringOptional(obj: JsonRecord, key: string): string | undefined; export declare function readNumber(obj: JsonRecord, key: string, required: true): number; export declare function readNumber(obj: JsonRecord, key: string, required?: false): number | undefined; export declare function readBoolean(obj: JsonRecord, key: string, required: true): boolean; export declare function readBoolean(obj: JsonRecord, key: string, required?: false): boolean | undefined; export declare function readRecord(obj: JsonRecord, key: string, required: true): JsonRecord; export declare function readRecord(obj: JsonRecord, key: string, required?: false): JsonRecord | undefined; export declare function readStringArray(obj: JsonRecord, key: string, required: true): string[]; export declare function readStringArray(obj: JsonRecord, key: string, required?: false): string[] | undefined; export declare function readArray(obj: JsonRecord, key: string, required: true): unknown[]; export declare function readArray(obj: JsonRecord, key: string, required?: false): unknown[] | undefined; export declare function parseBigIntInput(value: unknown, fieldName: string): bigint; export declare function parseBuffer(value: unknown, fieldName: string): Buffer; export declare function parseChainParam(obj: JsonRecord): { chainType?: 'solana' | 'evm'; chainPrefix?: string; chainId?: string; }; export declare function parsePagination(obj: JsonRecord, defaults?: { limit?: number; offset?: number; }): { limit: number; offset: number; }; export declare function readStringBounded(obj: JsonRecord, key: string, required: true, maxLength?: number): string; export declare function readStringBounded(obj: JsonRecord, key: string, required?: false, maxLength?: number): string | undefined; export declare function readArrayBounded(obj: JsonRecord, key: string, required?: boolean, maxSize?: number): unknown[] | undefined; //# sourceMappingURL=common.d.ts.map