import { t } from '../common'; export declare type ILinkKey = { prefix: string; key: string; path: string; dir: string; name: string; ext: string; }; export declare type ILinkValue = { uri: U; value: string; query: Q; }; export declare type ILink = ILinkKey & ILinkValue; export declare type ILinkQuery = Record; export declare type IFileLink = ILink & { toString: FileLinkToString; }; export declare type IFileLinkQuery = ILinkQuery & { hash?: string; status?: FileLinkQueryStatus; }; export declare type FileLinkQueryStatus = 'uploading'; export declare type FileLinkToString = (options?: { hash?: string | null; status?: string | null; }) => string; export declare type IRefLink = ILink & { toString: RefLinkToString; }; export declare type IRefLinkUri = t.INsUri | t.ICellUri | t.IColumnUri | t.IRowUri; export declare type IRefLinkQuery = ILinkQuery & { hash?: string; }; export declare type RefLinkToString = (options?: { hash?: string | null; }) => string;