survey-mcp-server
Version:
Survey management server handling survey creation, response collection, analysis, and reporting with database access for data management
22 lines (21 loc) • 591 B
TypeScript
import { ToolResponse } from '../types/index.js';
/**
* Statistics about filtering operation
*/
interface FilterStats {
itemsRemoved: number;
unauthorizedImos: string[];
filteredPaths: string[];
}
/**
* Main function to filter tool responses based on company IMO authorization
*/
export declare function filterResponseByCompanyImos(response: ToolResponse): Promise<ToolResponse>;
/**
* Filter specific content object (used for nested filtering)
*/
export declare function filterContentByCompanyImos(content: any): {
filtered: any;
stats: FilterStats;
};
export {};