import { IAvailableFtr } from '../context';
import { IEventData, ICardData, ISpecificCard, ISpecificCardSlice } from '../types/cards';
export declare const generateUniqueKey: (text: number | string) => string;
export declare const getVersionData: (version: string) => string | number | (() => string) | ((pos: number) => string) | ((index: number) => number) | ((...strings: string[]) => string) | ((searchString: string, position?: number) => number) | ((searchString: string, position?: number) => number) | {
    (that: string): number;
    (that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
    (that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
} | {
    (regexp: string | RegExp): RegExpMatchArray | null;
    (matcher: {
        [Symbol.match](string: string): RegExpMatchArray | null;
    }): RegExpMatchArray | null;
} | {
    (searchValue: string | RegExp, replaceValue: string): string;
    (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
    (searchValue: {
        [Symbol.replace](string: string, replaceValue: string): string;
    }, replaceValue: string): string;
    (searchValue: {
        [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
    }, replacer: (substring: string, ...args: any[]) => string): string;
} | {
    (regexp: string | RegExp): number;
    (searcher: {
        [Symbol.search](string: string): number;
    }): number;
} | ((start?: number, end?: number) => string) | {
    (separator: string | RegExp, limit?: number): string[];
    (splitter: {
        [Symbol.split](string: string, limit?: number): string[];
    }, limit?: number): string[];
} | ((start: number, end?: number) => string) | (() => string) | {
    (locales?: string | string[]): string;
    (locales?: Intl.LocalesArgument): string;
} | (() => string) | {
    (locales?: string | string[]): string;
    (locales?: Intl.LocalesArgument): string;
} | (() => string) | ((from: number, length?: number) => string) | (() => string) | ((pos: number) => number | undefined) | ((searchString: string, position?: number) => boolean) | ((searchString: string, endPosition?: number) => boolean) | {
    (form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
    (form?: string): string;
} | ((count: number) => string) | ((searchString: string, position?: number) => boolean) | ((name: string) => string) | (() => string) | (() => string) | (() => string) | (() => string) | ((color: string) => string) | {
    (size: number): string;
    (size: string): string;
} | (() => string) | ((url: string) => string) | (() => string) | (() => string) | (() => string) | (() => string) | ((maxLength: number, fillString?: string) => string) | ((maxLength: number, fillString?: string) => string) | (() => string) | (() => string) | (() => string) | (() => string) | ((regexp: RegExp) => RegExpStringIterator<RegExpExecArray>) | (() => StringIterator<string>) | ((index: number) => string | undefined) | undefined;
export declare const isLocalStorageVersionSame: (version: string) => boolean;
export declare const isUserAlreadySeenWhatsNew: (version: string, userId?: string) => boolean;
export declare const setLocalStorageData: (version: string, shouldReset?: boolean, isExpand?: boolean) => void;
/**
 * Function to check whether the specified feature(featureName) is availabe or not.
 * @param {Object} availableFeatures
 * @param {String} featureName
 */
export declare const isFeatureAvailable: (availableFeatures: IAvailableFtr | undefined, featureName: string) => boolean;
export declare const replacePlaceholders: (template: string, values: {
    [key: string]: string | number;
}) => string;
export declare const getCardLoadedGainSightEventsData: (data: ICardData, title: string, isExpanded: boolean, isSuccess?: boolean) => IEventData;
export declare const parseCardData: (data: ISpecificCardSlice) => ISpecificCard;
export declare const getUniqueConnectorsFromCards: (cards: {
    [key: string]: ISpecificCard;
} | null) => string[];
export declare const buildFeedbackURL: ({ url, params }: {
    url: string;
    params: {
        [key: string]: string | undefined | null;
    };
}) => string;
export declare function truncateText(text: string, maxLength: number): string;
//# sourceMappingURL=index.d.ts.map