import { SCFeedObjectTypologyType } from '@selfcommunity/core';
/**
 * From obj extract type of the contribution
 * @param obj
 */
export declare function getContributionType(obj: any): "comment" | SCFeedObjectTypologyType;
/**
 * From obj extract the contribution
 * @param obj
 */
export declare function getContribution(obj: any): any;
/**
 * Get a snippet for a contribution
 * @param obj (Discussion, Post, Status, Comment)
 */
export declare function getContributionSnippet(obj: any): any;
/**
 * Get the contribution text
 * Hydrate text with mention, etc.
 * @param obj Object of types: Discussion, Post, Status, Comment
 * @param handleUrl Func that handle urls
 */
export declare function getContributionHtml(obj: any, handleUrl: any): any;
/**
 * Get route name for a contribution
 * @param obj
 */
export declare function getContributionRouteName(obj: any): any;
/**
 * Get data for scRoutingContext.url()
 * @param obj (Discussion, Post, Status, Comment)
 */
export declare function getRouteData(obj: any): {};
//# sourceMappingURL=contribution.d.ts.map