import type { DocumentNode } from '@apollo/client'; import type { UseTableListOption } from '../useTableList'; export interface useTableListGraphQLOption extends Omit, 'request'> { gql: DocumentNode; gqlDataField: string; gqlBuildParams: (values: FormValues) => QueryVariables; } declare const useTableListGraphQL: ({ gql, gqlDataField, gqlBuildParams, ...resetOption }: useTableListGraphQLOption) => { onSubmit: () => void; onReset: () => void; refresh: () => void; tableProps: { loading: boolean; dataSource: ListItem[]; }; searchObject: Record; responseData: any; }; export default useTableListGraphQL;