import { DataLinkTableAccessor } from '@membranehq/sdk'; export declare function useDataLinkTable(selector: string | undefined): { accessor: DataLinkTableAccessor | undefined; loading: boolean; saving: boolean; error: any; 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; }>; refreshing: boolean; create: (data: { uuid?: string | undefined; key?: string | undefined; name?: string | undefined; description?: string | undefined; meta?: Record | undefined; connectionId?: string | undefined; instanceKey?: string | undefined; dataLinkTableId?: string | undefined; }) => 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<{ uuid?: string | undefined; key?: string | undefined; name?: string | undefined; description?: string | undefined; meta?: Record | undefined; connectionId?: string | undefined; instanceKey?: string | undefined; dataLinkTableId?: string | undefined; }>, 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: { uuid?: string | undefined; key?: string | undefined; name?: string | undefined; description?: string | undefined; meta?: Record | undefined; connectionId?: string | undefined; instanceKey?: string | undefined; dataLinkTableId?: string | undefined; }, 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; dataLinkTable: { 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; };