import { type Children } from "@alloy-js/core"; import type { CallSignatureProps } from "./CallSignature.jsx"; /** * Options for {@link FunctionType} component. */ export interface FunctionTypeProps extends CallSignatureProps { /** If the method is async */ readonly async?: boolean; /** Documentation for this method. */ readonly doc?: Children; /** Jsx content */ readonly children?: Children; } /** * A TypeScript function declaration. * * @example * ```ts * (foo: string, bar: number) => void * ``` * @remarks * * Providing parameters and type parameters can be accomplished in one of three * ways: * * 1. As an array of {@link TypeParameterDescriptor}s or * {@link TypeParameterDescriptor}s. * 2. As raw content via the `parametersChildren` or `typeParametersChildren` * props. * 3. As a child of this component via the * {@link FunctionType.Parameters} or * {@link FunctionType.TypeParameters} components. */ export declare const FunctionType: import("@alloy-js/core").Component & { TypeParameters: import("@alloy-js/core").Component & Required, "tag">>; Parameters: import("@alloy-js/core").Component & Required, "tag">>; }; //# sourceMappingURL=FunctionType.d.ts.map