import Vue, { ComponentOptions, Component } from 'vue'; import { Dispatch, Commit } from 'vuex'; export declare type TransformFunction = (options: ComponentOptions, lifecycle: Record) => void; export declare type StateMapper = string | ((this: Vue, state: S, getters: G) => any); export declare type ActionMapper = string | ((this: Vue, dispatch: Dispatch, ...args: any[]) => any); export declare type MutationMapper = string | ((this: Vue, commit: Commit, ...args: any[]) => any); export interface ConnectOptions { stateToProps?: Record> | string[]; gettersToProps?: Record | string[]; actionsToProps?: Record | string[]; actionsToEvents?: Record | string[]; mutationsToProps?: Record | string[]; mutationsToEvents?: Record | string[]; lifecycle?: Record; } export declare function createConnect(transform?: TransformFunction): (options?: ConnectOptions) => { , import("vue/types/options").DefaultMethods, import("vue/types/options").DefaultComputed, Record>>(name: string | C, Component: C): C; , import("vue/types/options").DefaultMethods, import("vue/types/options").DefaultComputed, Record>>(name: C): C; };