import Main from '../index'; import Base from './base'; import type { Link } from '../specifications'; export declare type LinksOptions = { source: string; identity: string; platform?: string; type?: string; reversed?: boolean; cursor?: any; limit?: number; }; export declare type LinkSetOptions = { source: string; identity: string; platform?: string; action?: string; }; export declare type LinkInput = Omit; declare class Links { map: { [key: string]: Base; }; constructor(main: Main); get(options: LinksOptions): Promise; set( options: LinkSetOptions, input: LinkInput, ): Promise<{ code: number; message: string; }>; } export default Links;