import { CheckboxProps } from '../checkbox';
import { PaginationProps, PageInfo } from '../pagination';
import { InputProps } from '../input';
import { LNode, KeysType } from '../../common.type';
export interface TypeTransferProps<T extends DataOption = DataOption> {
    checkboxProps?: CheckboxProps;
    checked?: Array<TransferValue>;
    defaultChecked?: Array<TransferValue>;
    data?: Array<T>;
    direction?: 'left' | 'right' | 'both';
    disabled?: boolean | Array<boolean>;
    empty?: EmptyType | Array<EmptyType> | LNode;
    footer?: Array<string | LNode> | LNode<{
        type: TransferListType;
    }>;
    keys?: KeysType;
    operation?: Array<string | LNode> | LNode<{
        direction: 'left' | 'right';
    }>;
    pagination?: PaginationProps | Array<PaginationProps>;
    search?: SearchOption | Array<SearchOption>;
    showCheckAll?: boolean | Array<boolean>;
    targetSort?: 'original' | 'push' | 'unshift';
    title?: Array<TitleType> | LNode<{
        type: TransferListType;
    }>;
    transferItem?: LNode<TransferItem<T>>;
    value?: Array<TransferValue>;
    defaultValue?: Array<TransferValue>;
    onChange?: (targetValue: Array<TransferValue>, context: TargetParams) => void;
    onCheckedChange?: (options: CheckedOptions) => void;
    onPageChange?: (page: PageInfo, context: {
        type: TransferListType;
    }) => void;
    onScroll?: (options: {
        e: Event;
        bottomDistance: number;
        type: TransferListType;
    }) => void;
    onSearch?: (options: SearchContext) => void;
}
export declare type EmptyType = string | LNode;
export declare type SearchOption = boolean | InputProps;
export declare type TitleType = string | LNode;
export declare type TransferListType = 'source' | 'target';
export interface TransferItem<T extends DataOption = DataOption> {
    data: T;
    index: number;
    type: TransferListType;
}
export interface TargetParams {
    type: TransferListType;
    movedValue: Array<TransferValue>;
}
export interface CheckedOptions {
    checked: Array<TransferValue>;
    sourceChecked: Array<TransferValue>;
    targetChecked: Array<TransferValue>;
    type: TransferListType;
}
export interface SearchContext {
    query: string;
    type: TransferListType;
    trigger: 'input' | 'enter';
    e: InputEvent | KeyboardEvent;
}
export declare type DataOption = {
    label?: string;
    value?: TransferValue;
    disabled?: boolean;
} & Record<string, any>;
export declare type TransferValue = string | number;
