@superinterface/react 3.16.3 → 3.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -8,6 +8,7 @@ import * as _tanstack_query_core from '@tanstack/query-core';
8
8
  import * as react from 'react';
9
9
  import { Dispatch, SetStateAction } from 'react';
10
10
  import * as openai_resources from 'openai/resources';
11
+ import * as unified from 'unified';
11
12
  import OpenAI from 'openai';
12
13
  import remarkGfm from 'remark-gfm';
13
14
  import * as openai_resources_beta_threads_runs_steps from 'openai/resources/beta/threads/runs/steps';
@@ -620,7 +621,7 @@ declare const components: Record<string, any>;
620
621
 
621
622
  declare const getRemarkPlugins: ({ content, }: {
622
623
  content: OpenAI.Beta.Threads.Messages.TextContentBlock;
623
- }) => ((() => (tree: any) => void) | typeof remarkGfm)[];
624
+ }) => (unified.Plugin | typeof remarkGfm)[];
624
625
 
625
626
  type MarkdownContextType = {
626
627
  components: typeof components;
package/dist/index.d.ts CHANGED
@@ -8,6 +8,7 @@ import * as _tanstack_query_core from '@tanstack/query-core';
8
8
  import * as react from 'react';
9
9
  import { Dispatch, SetStateAction } from 'react';
10
10
  import * as openai_resources from 'openai/resources';
11
+ import * as unified from 'unified';
11
12
  import OpenAI from 'openai';
12
13
  import remarkGfm from 'remark-gfm';
13
14
  import * as openai_resources_beta_threads_runs_steps from 'openai/resources/beta/threads/runs/steps';
@@ -620,7 +621,7 @@ declare const components: Record<string, any>;
620
621
 
621
622
  declare const getRemarkPlugins: ({ content, }: {
622
623
  content: OpenAI.Beta.Threads.Messages.TextContentBlock;
623
- }) => ((() => (tree: any) => void) | typeof remarkGfm)[];
624
+ }) => (unified.Plugin | typeof remarkGfm)[];
624
625
 
625
626
  type MarkdownContextType = {
626
627
  components: typeof components;