export declare type Options = {
    /** The refix string to remove */
    prefix?: string;
    /** The suffix string to remove */
    suffix?: string;
};
/**
 * Extract the root word, removing a prefix and/or suffix
 *
 * @param input The word, which might have {@code prefix} before it, and {@code suffix} after it.
 * @param __namedParameters see {@link Options}
 * @returns The root word
 */
export declare function root(input: string, { prefix, suffix }?: Options): string;
export default root;
