UNPKG

@roots/bud-api

Version:

bud.js core module

14 lines (13 loc) 592 B
import type { Bud } from '@roots/bud-framework'; import type { EntryObject } from '@roots/bud-framework/config'; export type Name = string; export type Signifier = string; export type ImportValue = Array<Signifier> | Signifier; export type ObjectInput = Record<string, ImportValue>; export type Parameters = [ImportValue] | [Name, EntryObject | ImportValue] | [Record<Name, EntryObject | ImportValue>]; export type Records = Record<string, EntryObject>; export interface entry { (...parameters: Parameters): Promise<Bud>; } export declare const entry: entry; export type { EntryObject };