#[path = "model/config.rs"]
mod config;
#[path = "model/diagnostic.rs"]
mod diagnostic;
#[path = "model/request.rs"]
mod request;
#[path = "model/response.rs"]
mod response;
#[path = "model/rule.rs"]
mod rule;
#[path = "model/workspace_request.rs"]
mod workspace_request;
#[path = "model/workspace_response.rs"]
mod workspace_response;

pub(crate) use config::{validate_config, ConfigValidateResponse};
pub(crate) use diagnostic::Diagnostic;
pub(crate) use request::{
    CheckTextRequest, ConfigValidateRequest, FixTextRequest, RuleDocRequest, RuleGetRequest,
    RuleListRequest,
};
pub(crate) use response::{CheckTextResponse, FixTextResponse, RuleDocResponse};
pub(crate) use rule::{RuleListResponse, RuleMetadata};
pub(crate) use workspace_request::{DirectoryRequest, FileRequest, FixFileApplyRequest};
pub(crate) use workspace_response::{
    DirectoryCheckResponse, FileCheckResponse, FileFixApplyResponse, FileFixPreviewResponse,
    WorkspaceToolError,
};
