@avalabs/avalanchejs
Version:
Avalanche Platform JS Library
19 lines • 1.47 kB
TypeScript
import type { Bytes, OutputOwners } from '../../../../serializable';
import { type TransferableInput, type TransferableOutput } from '../../../../serializable/avax';
import type { Signer } from '../../../../serializable/pvm/signer';
import { SignerEmpty } from '../../../../serializable/pvm';
import type { Dimensions } from '../../../common/fees/dimensions';
import type { Serializable } from '../../../common/types';
import type { Transaction } from '../../../common';
import type { L1Validator } from '../../../../serializable/fxs/pvm/L1Validator';
export declare const getOutputComplexity: (transferableOutputs: readonly TransferableOutput[]) => Dimensions;
export declare const getInputComplexity: (transferableInputs: readonly TransferableInput[]) => Dimensions;
export declare const getSignerComplexity: (signer: Signer | SignerEmpty) => Dimensions;
export declare const getOwnerComplexity: (outputOwners: OutputOwners) => Dimensions;
export declare const getAuthComplexity: (input: Serializable) => Dimensions;
export declare const getBytesComplexity: (...bytes: (Uint8Array | Bytes)[]) => Dimensions;
export declare const getWarpComplexity: (message: Bytes) => Dimensions;
export declare const getL1ValidatorsComplexity: (validators: L1Validator[]) => Dimensions;
export declare const getL1ValidatorComplexity: (validator: L1Validator) => Dimensions;
export declare const getTxComplexity: (tx: Transaction) => Dimensions;
//# sourceMappingURL=complexity.d.ts.map