@signalwire/docusaurus-theme-llms-txt
Version:
Docusaurus theme components for llms-txt plugin including CopyPageButton
24 lines • 747 B
TypeScript
/**
* Copyright (c) SignalWire, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import type { CopyPageContentOptions } from '../types/copyButton';
export interface ResolvedCopyPageContentOptions {
buttonLabel: string;
markdown: boolean;
chatGPT: {
enabled: boolean;
prompt: string;
};
claude: {
enabled: boolean;
prompt: string;
};
}
/**
* Hook to resolve configuration from plugin config
*/
export default function useCopyButtonConfig(pluginConfig: boolean | CopyPageContentOptions | undefined): ResolvedCopyPageContentOptions;
//# sourceMappingURL=useCopyButtonConfig.d.ts.map