export type ContainerOptionsFormat = | (string | Record)[] | Record; /** * @template T * @template R * @param {ContainerOptionsFormat} options options passed by the user * @param {function(string | string[], string) : R} normalizeSimple normalize a simple item * @param {function(T, string) : R} normalizeOptions normalize a complex item * @returns {[string, R][]} parsed options */ export function parseOptions( options: ContainerOptionsFormat, normalizeSimple: (arg0: string | string[], arg1: string) => R, normalizeOptions: (arg0: T, arg1: string) => R, ): [string, R][]; /** * @template T * @param {string} scope scope name * @param {ContainerOptionsFormat} options options passed by the user * @returns {Record} options to spread or pass */ export function scope( scope: string, options: ContainerOptionsFormat, ): Record;