/// import { Toolbox, GluegunToolbox } from 'gluegun'; import { PlatformPath } from 'path'; /** * Given a source directory and a target filename, return the relative * file path from source to target. * @param source {String} directory path to start from for traversal * @param target {String} directory path and filename to seek from source * @return Relative path (e.g. "../../style.css") as {String} */ export declare function getRelativePath(source: string, target: string): string; declare module 'gluegun' { interface GluegunPath extends PlatformPath { from: typeof getRelativePath; oneExists: (pathsToTry: string[], defaultPath?: string, baseDir?: string) => string | undefined; resolveEntry: (cwd: string) => string | undefined; } interface Toolbox extends GluegunToolbox { path: GluegunPath; } } declare const _default: (toolbox: Toolbox) => void; export default _default;