export declare enum Types {
    ACTION_TRACK_RUNTIME = "action_track_runtime",
    SYNC_TRACK_RUNTIME = "sync_script_track_runtime",
    WEBHOOK_TRACK_RUNTIME = "webhook_track_runtime",
    RUNNER_SDK = "nango.runner.sdk",
    JOBS_CLEAN_ACTIVITY_LOGS = "nango.jobs.cron.cleanActivityLogs",
    JOBS_DELETE_SYNCS_DATA = "nango.jobs.cron.deleteSyncsData",
    JOBS_DELETE_SYNCS_DATA_JOBS = "nango.jobs.cron.deleteSyncsData.jobs",
    JOBS_DELETE_SYNCS_DATA_SCHEDULES = "nango.jobs.cron.deleteSyncsData.schedules",
    JOBS_DELETE_SYNCS_DATA_RECORDS = "nango.jobs.cron.deleteSyncsData.records",
    JOBS_DELETE_SYNCS_DATA_DELETES = "nango.jobs.cron.deleteSyncsData.deletes",
    PERSIST_RECORDS_COUNT = "nango.persist.records.count",
    PERSIST_RECORDS_SIZE_IN_BYTES = "nango.persist.records.sizeInBytes",
    AUTH_GET_ENV_BY_SECRET_KEY = "nango.auth.getEnvBySecretKey",
    LOGS_LOG = "nango.logs.log"
}
export declare function increment(metricName: Types, value?: number): void;
export declare function decrement(metricName: Types, value?: number): void;
export declare function duration(metricName: Types, value: number): void;
export declare function time<T, E, F extends (...args: E[]) => Promise<T>>(metricName: Types, func: F): F;
