import { DifyAccessor } from '../../accessor/dify.ts'; import type { RegisteredCommand } from '../../commands/config.ts'; import type { RegisteredOp } from '../../ops/registry.ts'; import { type FileStat, type PathSpec } from '../../types.ts'; import { BaseResource, type Resource } from '../base.ts'; import { type DifyConfigRedacted, type DifyConfig, type DifyConfigResolved } from './config.ts'; export interface DifyResourceOptions { config: DifyConfig; } export interface DifyResourceState { type: string; config: DifyConfigRedacted; needs_override: true; } export declare class DifyResource extends BaseResource implements Resource { readonly kind: string; readonly cachesReads: boolean; readonly supportsSnapshot: boolean; readonly prompt: string; readonly config: DifyConfigResolved; readonly accessor: DifyAccessor; constructor(options: DifyResourceOptions | DifyConfig); getState(): DifyResourceState; loadState(_state: DifyResourceState): Promise; open(): Promise; ops(): readonly RegisteredOp[]; commands(): readonly RegisteredCommand[]; glob(paths: readonly PathSpec[], _prefix?: string): Promise; readFile(p: PathSpec): Promise; readdir(p: PathSpec): Promise; stat(p: PathSpec): Promise; } //# sourceMappingURL=dify.d.ts.map