import { ReadonlySignal, Signal } from '@preact/signals-core';
import { ReadonlyProperties } from '@pmndrs/uikit-pub-sub';
import { Component } from '../../components/component.js';
import { EventHandlersProperties } from '../../events.js';
import { type PositionedGlyphLayout } from '../layout/index.js';
type TextSelectionPointerProperties = {
    disabled: boolean;
    type: string;
};
export declare const canvasInputProps: {
    onPointerDown: (e: {
        nativeEvent: any;
        preventDefault: () => void;
    }) => void;
};
export declare function setupSelectionHandlers(target: Signal<EventHandlersProperties | undefined>, properties: ReadonlyProperties<TextSelectionPointerProperties>, text: ReadonlySignal<string>, component: Component, textLayout: ReadonlySignal<PositionedGlyphLayout | undefined>, focus: (start?: number, end?: number, direction?: 'forward' | 'backward' | 'none') => void, abortSignal: AbortSignal): void;
export {};
