/** * Describes a root note * and other optional parameters */ export interface RootNote { path?: string; children?: Notes; } /** * Describes the base route */ export interface Root { root: RootNote; } /** * Describes a basic route note * and other optional parameters */ export interface Note { path: string; name?: string; children?: Notes; } /** * Describes a bunch of Note */ export declare type Notes = { [key in keyof R]: Note | RootNote; };