import { DataLinkTableInstanceAccessor, DataLinkTableInstanceSelector, UpdateDataLinkTableInstanceRequest, CreateDataLinkTableInstanceRequest } from '@membranehq/sdk'; export declare function useDataLinkTableInstance(selector: string | DataLinkTableInstanceSelector | undefined): { loading: boolean; saving: boolean; error: any; refreshing: boolean; create: (data: CreateDataLinkTableInstanceRequest) => Promise<{ id: string; name: string; uuid?: string | undefined; key?: string | undefined; description?: string | undefined; meta?: Record | undefined; connectionId?: string | undefined; instanceKey?: string | undefined; dataLinkTableId?: string | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; revision?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; isDeactivated?: boolean | undefined; isReadOnly?: boolean | undefined; integrationId?: string | undefined; archivedAt?: string | undefined; isCustomized?: boolean | undefined; userId?: string | undefined; tenantId?: string | undefined; user?: any; connection?: any; integration?: any; dataLinkTable?: any; } | undefined>; patch: (data: Partial, options?: (Omit | undefined; connectionId?: string | undefined; instanceKey?: string | undefined; dataLinkTableId?: string | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; revision?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; isDeactivated?: boolean | undefined; isReadOnly?: boolean | undefined; integrationId?: string | undefined; archivedAt?: string | undefined; isCustomized?: boolean | undefined; userId?: string | undefined; tenantId?: string | undefined; user?: any; connection?: any; integration?: any; dataLinkTable?: any; } | undefined, { id: string; name: string; uuid?: string | undefined; key?: string | undefined; description?: string | undefined; meta?: Record | undefined; connectionId?: string | undefined; instanceKey?: string | undefined; dataLinkTableId?: string | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; revision?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; isDeactivated?: boolean | undefined; isReadOnly?: boolean | undefined; integrationId?: string | undefined; archivedAt?: string | undefined; isCustomized?: boolean | undefined; userId?: string | undefined; tenantId?: string | undefined; user?: any; connection?: any; integration?: any; dataLinkTable?: any; }>, "optimisticData"> & { optimisticData?: { id: string; name: string; uuid?: string | undefined; key?: string | undefined; description?: string | undefined; meta?: Record | undefined; connectionId?: string | undefined; instanceKey?: string | undefined; dataLinkTableId?: string | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; revision?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; isDeactivated?: boolean | undefined; isReadOnly?: boolean | undefined; integrationId?: string | undefined; archivedAt?: string | undefined; isCustomized?: boolean | undefined; userId?: string | undefined; tenantId?: string | undefined; user?: any; connection?: any; integration?: any; dataLinkTable?: any; } | undefined; }) | undefined) => Promise; put: (data: UpdateDataLinkTableInstanceRequest, options?: Omit | undefined; connectionId?: string | undefined; instanceKey?: string | undefined; dataLinkTableId?: string | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; revision?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; isDeactivated?: boolean | undefined; isReadOnly?: boolean | undefined; integrationId?: string | undefined; archivedAt?: string | undefined; isCustomized?: boolean | undefined; userId?: string | undefined; tenantId?: string | undefined; user?: any; connection?: any; integration?: any; dataLinkTable?: any; } | undefined, { id: string; name: string; uuid?: string | undefined; key?: string | undefined; description?: string | undefined; meta?: Record | undefined; connectionId?: string | undefined; instanceKey?: string | undefined; dataLinkTableId?: string | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; revision?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; isDeactivated?: boolean | undefined; isReadOnly?: boolean | undefined; integrationId?: string | undefined; archivedAt?: string | undefined; isCustomized?: boolean | undefined; userId?: string | undefined; tenantId?: string | undefined; user?: any; connection?: any; integration?: any; dataLinkTable?: any; }>, "optimisticData"> & { optimisticData?: { id: string; name: string; uuid?: string | undefined; key?: string | undefined; description?: string | undefined; meta?: Record | undefined; connectionId?: string | undefined; instanceKey?: string | undefined; dataLinkTableId?: string | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; revision?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; isDeactivated?: boolean | undefined; isReadOnly?: boolean | undefined; integrationId?: string | undefined; archivedAt?: string | undefined; isCustomized?: boolean | undefined; userId?: string | undefined; tenantId?: string | undefined; user?: any; connection?: any; integration?: any; dataLinkTable?: any; } | undefined; }) => Promise; archive: () => Promise; dataLinkTableInstance: { id: string; name: string; uuid?: string | undefined; key?: string | undefined; description?: string | undefined; meta?: Record | undefined; connectionId?: string | undefined; instanceKey?: string | undefined; dataLinkTableId?: string | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; revision?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; isDeactivated?: boolean | undefined; isReadOnly?: boolean | undefined; integrationId?: string | undefined; archivedAt?: string | undefined; isCustomized?: boolean | undefined; userId?: string | undefined; tenantId?: string | undefined; user?: any; connection?: any; integration?: any; dataLinkTable?: any; } | undefined; accessor: DataLinkTableInstanceAccessor | undefined; refresh: () => Promise<{ id: string; name: string; uuid?: string | undefined; key?: string | undefined; description?: string | undefined; meta?: Record | undefined; connectionId?: string | undefined; instanceKey?: string | undefined; dataLinkTableId?: string | undefined; state?: import("@membranehq/sdk").WorkspaceElementState | undefined; errors?: import("@membranehq/sdk").ErrorDataSchema[] | undefined; revision?: string | undefined; createdAt?: string | undefined; updatedAt?: string | undefined; isDeactivated?: boolean | undefined; isReadOnly?: boolean | undefined; integrationId?: string | undefined; archivedAt?: string | undefined; isCustomized?: boolean | undefined; userId?: string | undefined; tenantId?: string | undefined; user?: any; connection?: any; integration?: any; dataLinkTable?: any; }>; findLinks: ((query?: import("@membranehq/sdk").FindDataLinksInTableQuery) => Promise) | undefined; createLink: ((data: import("@membranehq/sdk").CreateDataLinkRequest) => Promise) | undefined; deleteLink: ((data: import("@membranehq/sdk").DeleteDataLinkRequest) => Promise) | undefined; };