import { ValueObject } from "./ValueObject"; import * as O from "fp-ts/Option"; import * as TE from "fp-ts/TaskEither"; import { RequestMethod } from "../utils"; export interface IonLinkParams { readonly [param: string]: string; } export declare type Link = { href: string; readonly method?: RequestMethod; readonly name?: string; }; export declare const getLink: (item: ValueObject, path: string) => O.Option; export declare const linkRequest: (link: Link) => (data: RequestInit) => TE.TaskEither | import("../../error").BasicError, ValueObject>;