/**
 * Copyright © 2019 Johnson & Johnson
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * http://www.apache.org/licenses/LICENSE-2.0
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import { Tree } from './type';
/**
 * createBar works to generate markdown used in _sidebar and _navbar from
 * a tree (paths param).  It used parents and depth to allow recursion.
 *
 * @param paths what is the tree we should transform
 * @param parent what are the current parent folders we are in
 * @param depth how many more times to recurse in the tree
 */
declare const createBar: (paths: Tree, parent: string[], depth: number, writeHeader?: boolean, indent?: number) => string;
/**
 * writeSideBar returns a promise to write a _sidebar file it resolves void
 * @param loc where to write the _sidebar.md
 * @param tree what tree to transform
 * @param parents what parents should be use in the paths of the items
 */
export declare const writeSideBar: (loc: string, tree: Tree, parents: string[]) => Promise<void>;
/**
 * writeSideBars retruns a promise to write a sidebar for each in the tree
 * it resolves to a void
 * @param loc
 * @param tree
 */
export declare const writeSideBars: (loc: string, tree: Tree) => Promise<void>;
export default createBar;
//# sourceMappingURL=createBar.d.ts.map