/** * For namespace "a.b.c", the travel order is (a, a) => (b, a.b) => (c, a.b.c). * @param namespace - Full namespace, dot-separated sequence of a-z, A-Z, 0-9, _ and $. * @param Callback - Return false to stop the travel. */ export declare function travelNamespaceFromRoot(namespace: string, callback?: (name: string, fullname: string) => void | false): void; /** * For namespace "a.b.c", the travel order is (c, a.b.c) => (b, a.b) => (a, a). * @param namespace - Full namespace, dot-separated sequence of a-z, A-Z, 0-9, _ and $. * @param Callback - Return false to stop the travel. */ export declare function travelNamespaceToRoot(namespace: string, callback?: (name: string, fullname: string) => void | false): void;