import { Mountain } from "../mountains"; import { KernCallback } from "../types/server"; /** * The class constructed by the kern method, used for keeping * track of the callback and property index of the decorator */ export declare class Kern { callback: KernCallback; index: number; constructor(callback: KernCallback, index: number); } /** * Creates a new kern * @param callback Callback which is called whenever the matching trail's URL is visited */ export declare function kern(callback: KernCallback): (target: Mountain, property: string, index: number) => void;