import { Params } from "./action"; import { Schema } from "./schema"; import { Request } from "hapi"; export declare type Properties = { [key: string]: any; }; export interface Embed { rel: string; document: Document; alwaysArray?: boolean; } export interface Link { rel: string; href: string; name?: string; params?: { [key: string]: any; }; public?: boolean; private?: boolean; } export interface RenderedLink { href: string; name?: string; templated?: boolean; } export interface Form extends Link { method: string; schema?: Schema; } export interface RenderedForm extends RenderedLink { method: string; schema?: Schema; } export declare class Document { properties: Properties; embedded: Embed[]; links: Link[]; forms: Form[]; constructor(properties?: Properties); render(params: Params, request: Request): Properties; }