/** * (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. */ import { Transformer } from 'unified'; import { Args } from './arguments'; type Options = { baseDir?: string; ignoreMissingFiles?: boolean; fileContentProvider?: (args: Args & { baseDir?: string; }) => Promise<{ content: string; }>; fileSnippetProvider?: (args: Args & { baseDir?: string; }) => Promise<{ content: string; filepath: string; }>; }; export default function codeImport(options?: Options): Transformer; export declare function getSnippet(fileContent: string, args: Args): string; export {};