import { GpuShaderDefinition } from '../../gpu/porters'; import { transformPosition } from '../../utilities/transformations'; export interface ComponentProps { /** * Position of the top-left corner * * Accepts `{ x, y }` objects with values from 0 to 1, or CSS positions like `top center`. * @default {"x":0,"y":0} */ topLeft: Parameters[0]; /** * Position of the top-right corner * * Accepts `{ x, y }` objects with values from 0 to 1, or CSS positions like `top center`. * @default {"x":1,"y":0} */ topRight: Parameters[0]; /** * Position of the bottom-left corner * * Accepts `{ x, y }` objects with values from 0 to 1, or CSS positions like `top center`. * @default {"x":0,"y":1} */ bottomLeft: Parameters[0]; /** * Position of the bottom-right corner * * Accepts `{ x, y }` objects with values from 0 to 1, or CSS positions like `top center`. * @default {"x":1,"y":1} */ bottomRight: Parameters[0]; /** * Blends the warp in and out — 0 returns the content to its original rectangle, 1 fully pins the corners * * @default 1 */ amount: number; edges: string; } export declare const componentDefinition: GpuShaderDefinition; export default componentDefinition; //# sourceMappingURL=index.d.ts.map