import { TransactionResources } from '../../../../stellar-plus/core/contract-engine/types';
export type LogEntry = {
    methodName: string;
    costs: TransactionResources;
    feeCharged: number;
    elapsedTime?: number;
};
export type GetLogOptions = {
    clear?: boolean;
    filter?: Filters;
    aggregate?: AggregateType;
    formatOutput?: 'csv' | 'text-table';
};
export type Filters = ResourcesList<FilterResource> & {
    methods?: string[];
};
export type FilterResource = {
    include?: boolean;
    min?: number;
    max?: number;
};
export type ResourcesList<T> = {
    cpuInstructions?: T;
    ram?: T;
    minResourceFee?: T;
    ledgerReadBytes?: T;
    ledgerWriteBytes?: T;
    ledgerEntryReads?: T;
    ledgerEntryWrites?: T;
    eventSize?: T;
    returnValueSize?: T;
    transactionSize?: T;
};
export type AggregateType = ResourcesList<AggregationMethod> & {
    all?: AggregationMethod;
    elapsedTime?: AggregationMethod;
    feeCharged?: AggregationMethod;
};
export type AggregationMethod = {
    method: 'sum' | 'average' | 'standardDeviation';
};
