import { IbGib_V1 } from '@ibgib/ts-gib/dist/V1/index.mjs'; import { TransformResult } from '@ibgib/ts-gib/dist/types.mjs'; import { IbGibSpaceAny } from '../../witness/space/space-base-v1.mjs'; import { LinkIbGib_V1 } from './link-types.mjs'; /** * generates an ib based on the link text. * * Basically this gets a short substring of the link text and replaces * any non alphanumeric characters. * * @param linkText link text * @returns link ib for the given link text */ export declare function getLinkIb(linkText: string): string; /** * creates a link ibgib, returning the transform result, * optionally saving it in a given {@link space}. */ export declare function createLinkIbGib({ text, saveInSpace, space, }: { /** * link text */ text: string; /** * If true, will save the ibgibs created in the given {@link space}. */ saveInSpace?: boolean; /** * If {@link saveInSpace}, all ibgibs created in this function will be stored in * this space. */ space?: IbGibSpaceAny; }): Promise>; export declare function isLink({ ibGib, }: { ibGib: IbGib_V1; }): boolean; //# sourceMappingURL=link-helper.d.mts.map