/**
 * X (Formerly Twitter) Node - Version 2
 * Discriminator: resource=tweet, operation=delete
 */


interface Credentials {
  twitterOAuth2Api: CredentialReference;
}

/** Create, like, search, or delete a tweet */
export type TwitterV2TweetDeleteParams = {
  resource: 'tweet';
  operation: 'delete';
/**
 * The tweet to delete
 * @default {"mode":"id","value":""}
 */
    tweetDeleteId?: { __rl: true; mode: 'id' | 'url'; value: string; cachedResultName?: string };
};

export type TwitterV2TweetDeleteOutput = {
  deleted?: boolean;
};

export type TwitterV2TweetDeleteNode = {
  type: 'n8n-nodes-base.twitter';
  version: 2;
  credentials?: Credentials;
  config: NodeConfig<TwitterV2TweetDeleteParams>;
  output?: Items<TwitterV2TweetDeleteOutput>;
};