import { i as __reExport, n as __exportAll, r as __name } from "./chunk-BGCRLu6H.js"; import { KubbFile } from "@kubb/fabric-core/types"; import React, { JSX, ReactNode } from "react"; //#region src/utils/getFunctionParams.d.ts type Param = { /** * `object` will return the pathParams as an object. * * `inline` will return the pathParams as comma separated params. * @default `'inline'` * @private */ mode?: 'object' | 'inline' | 'inlineSpread'; type?: 'string' | 'number' | (string & {}); optional?: boolean; /** * @example test = "default" */ default?: string; /** * Used for no TypeScript(with mode object) * @example test: "default" */ value?: string; children?: Params; }; type Params = Record; type Options = { type: 'constructor' | 'call' | 'object' | 'objectValue'; transformName?: (name: string) => string; transformType?: (type: string) => string; }; /** * @deprecated use @kubb/ast */ declare function createFunctionParams(params: Params): Params; /** * @deprecated use @kubb/ast */ declare class FunctionParams { #private; static factory(params: Params): FunctionParams; constructor(params: Params); get params(): Params; get flatParams(): Params; toCall({ transformName, transformType }?: Pick): string; toObject(): string; toObjectValue(): string; toConstructor(): string; } declare namespace types_d_exports { export { DOMElement, DOMNode, DOMNodeAttribute, ElementNames, FabricConstProps, FabricExportProps, FabricFileProps, FabricFunctionProps, FabricImportProps, FabricReactElement, FabricReactNode, FabricSourceProps, FabricTextProps, FabricTypeProps, Key, LineBreakProps, Param, Params, TextNode }; } import * as import__kubb_fabric_core_types from "@kubb/fabric-core/types"; type Key = string | number | bigint; type ElementNames = 'br' | 'div' | 'indent' | 'dedent' | 'kubb-text' | 'kubb-file' | 'kubb-source' | 'kubb-import' | 'kubb-export' | 'kubb-function' | 'kubb-const' | 'kubb-type' | 'kubb-root' | 'kubb-app'; type Node = { parentNode: DOMElement | undefined; internal_static?: boolean; }; type DOMNodeAttribute = boolean | string | number; type TextName = '#text'; type TextNode = { nodeName: TextName; nodeValue: string; } & Node; type DOMNode = T extends { nodeName: infer U; } ? U extends '#text' ? TextNode : DOMElement : never; type OutputTransformer = (s: string, index: number) => string; type DOMElement = { nodeName: ElementNames; attributes: Map; childNodes: DOMNode[]; internal_transform?: OutputTransformer; isStaticDirty?: boolean; staticNode?: DOMElement; onComputeLayout?: () => void; onRender?: () => void; onImmediateRender?: () => void; } & Node; type NodeNames = ElementNames | TextName; type FabricReactNode = ReactNode; type FabricReactElement = JSX.Element; type FabricTextProps = { children?: FabricReactNode; }; type FabricFileProps = { id?: string; children?: FabricReactNode; baseName: string; path: string; override?: boolean; meta?: KubbFile.File['meta']; }; type FabricSourceProps = KubbFile.Source & { children?: FabricReactNode; }; type FabricImportProps = KubbFile.Import; type FabricExportProps = KubbFile.Export; type FabricFunctionProps = KubbFile.FunctionNode & { children?: FabricReactNode; }; type FabricConstProps = KubbFile.ConstNode & { children?: FabricReactNode; }; type FabricTypeProps = KubbFile.TypeNode & { children?: FabricReactNode; }; type LineBreakProps = React.DetailedHTMLProps, HTMLBRElement>; //#endregion export { createFunctionParams as S, TextNode as _, FabricConstProps as a, Param as b, FabricFunctionProps as c, FabricReactNode as d, FabricSourceProps as f, LineBreakProps as g, Key as h, ElementNames as i, FabricImportProps as l, FabricTypeProps as m, DOMNode as n, FabricExportProps as o, FabricTextProps as p, DOMNodeAttribute as r, FabricFileProps as s, DOMElement as t, FabricReactElement as u, types_d_exports as v, Params as x, FunctionParams as y }; //# sourceMappingURL=types-Bvn9oPwx.d.ts.map