import Separator from '../separator/separator'; /** * check if {@param compare} is part of {@param root} * * @param root * @param compare * * @param separator * separator each segment * * @example * Segment('root', 'root.parent', '.') : true * * @example * Segment('root', 'root', '.') : true * * @example * Segment('root.parent', 'root', '.') : false */ export declare function SegmentParameters(root: string, compare: string, separator: string): boolean; /** * check if {@param compare} is part of {@param root} * * @param root * @param compare * * @param separator * separator each segment * * @example * Segment('root', 'root.parent', '.') : true * * @example * Segment('root', 'root', '.') : true * * @example * Segment('root.parent', 'root', '.') : false */ export declare function SegmentParameter({ root, compare, separator }: Separator & { root: string; compare: string; }): boolean; declare namespace Segment { const Parameters: typeof SegmentParameters; const Parameter: typeof SegmentParameter; } export default Segment; //# sourceMappingURL=segment.d.ts.map