/** * 자동 생성 README(`README.md?raw`)에서 **Methods (ref)** 섹션만 뽑아 * Storybook Docs 의 컴포넌트 설명으로 주입한다. * * Props/Events/default/설명은 이제 Controls(react-docgen-typescript)가 완전히 보여주므로 * README 표는 중복이다. deps/mermaid 그래프는 소비자용 문서에 불필요. * ref 핸들 메서드(focus/open 등)만 Controls 로 표현되지 않으므로 이것만 남긴다. * * 메서드가 없으면 `undefined` 를 반환한다 — description 을 빈 문자열로 덮어쓰지 않고 * docgen 이 추출한 컴포넌트 요약(prose)이 그대로 노출되도록 하기 위함. * * @example * import readme from './README.md?raw'; * const meta = { parameters: { docs: { description: { component: readmeDocs(readme) } } } }; */ export declare function readmeDocs(md: string): string | undefined;