import type { Plugin } from 'rollup'; /** * Vite plugin that wraps files with a suffix of `Cell` in Redwood's `createCell` * higher order component. The HOC deals with the lifecycle methods during a GraphQL query. * * This transforms: * ```js * export const QUERY = gql`...` * export const Loading = () =>
Loading...
* export const Success = ({ data }) =>
{data}
* ``` * * Into: * ```js * import { createCell } from '@cedarjs/web' * export const QUERY = gql`...` * export const Loading = () =>
Loading...
* export const Success = ({ data }) =>
{data}
* export default createCell({ QUERY, Loading, Success, displayName: 'MyCell' }) * ``` */ export declare function cellTransformPlugin(): Plugin; //# sourceMappingURL=rollup-plugin-cedarjs-cell.d.ts.map