import { Component, TypeDefs, VNode, Key, Children } from 'intact-vue'; import { Model } from './useFilter'; import type { Events } from '../types'; import type { PaginationProps, PaginationChangeData } from '../pagination'; export interface TransferProps = TransferDataItem, V extends T[K] = T[K]> { data?: T[]; keyName?: K; labelName?: L; value?: V[]; leftCheckedKeys?: V[]; rightCheckedKeys?: V[]; filterable?: boolean; filter?: (data: T, keywords: string) => boolean; placeholder?: string; leftKeywords?: string; rightKeywords?: string; leftTitle?: string | VNode; rightTitle?: string | VNode; enableAdd?: () => boolean; enableRemove?: () => boolean; pagination?: boolean | PaginationProps; } export type TransferDataItem = { [K in A]: Key; } & { [K in B]?: Children; } & { disabled?: boolean; }; export interface TransferEvents { add: []; remove: []; page: [Model, PaginationChangeData]; } export interface TransferBlocks { header: Model; filter: Model; list: Model; label: [T, V, Model]; } export declare class Transfer = TransferDataItem, V extends T[K] = T[K]> extends Component, TransferEvents, TransferBlocks> { static template: string | import('intact-vue').Template; static typeDefs: Required, Key>>>; static defaults: () => Partial, Key>>; static events: Events; private transfer; private filter; paginationState: { getPagedData: (model: Model, allData: any[]) => any[]; leftValue: import("../../hooks/useState").State; leftLimit: import("../../hooks/useState").State; rightValue: import("../../hooks/useState").State; rightLimit: import("../../hooks/useState").State; onChange: (model: Model, data: PaginationChangeData) => void; leftPaginationRef: import('intact-vue').RefObject; rightPaginationRef: import('intact-vue').RefObject; }; private check; private config; getData(): any[]; getCheckedData(model: Model): any[]; }