import { MaterialEffect } from "../materials/MaterialEffect.js"; import { LightEffect } from "../lights/LightEffect.js"; import { Sprite2D } from "../sprites/Sprite2D.js"; import { Flatland } from "../Flatland.js"; import { TileMap2D } from "../tilemap/TileMap2D.js"; //#region src/react/attach.d.ts /** * R3F attach helper for MaterialEffect instances. * Use as the `attach` prop when adding effects as children of a sprite2D or tileMap2D: * @example * ```tsx * import { attachEffect } from 'three-flatland/react' * * * * * * * * * ``` */ declare function attachEffect(parent: Sprite2D | TileMap2D, self: T): () => void; /** * R3F attach helper for LightEffect instances. * Use as the `attach` prop when adding a light effect as a child of a flatland: * @example * ```tsx * import { attachLighting } from 'three-flatland/react' * * * * * * ``` */ declare function attachLighting(parent: Flatland, self: T): () => void; //#endregion export { attachEffect, attachLighting }; //# sourceMappingURL=attach.d.ts.map